mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 07:34:18 +00:00
17 lines
236 B
Rust
17 lines
236 B
Rust
#![warn(clippy::doc_link_with_quotes)]
|
|
|
|
fn main() {
|
|
foo()
|
|
}
|
|
|
|
/// Calls ['bar'] uselessly
|
|
pub fn foo() {
|
|
bar()
|
|
}
|
|
|
|
/// # Examples
|
|
/// This demonstrates issue \#8961
|
|
/// ```
|
|
/// let _ = vec!['w', 'a', 't'];
|
|
/// ```
|
|
pub fn bar() {}
|