2022-02-01 05:21:42 -06:00
|
|
|
#![warn(clippy::doc_link_with_quotes)]
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
foo()
|
|
|
|
}
|
|
|
|
|
2022-10-01 04:57:34 -05:00
|
|
|
/// Calls ['bar'] uselessly
|
2022-02-01 05:21:42 -06:00
|
|
|
pub fn foo() {
|
|
|
|
bar()
|
|
|
|
}
|
|
|
|
|
2022-10-01 04:57:34 -05:00
|
|
|
/// # Examples
|
|
|
|
/// This demonstrates issue \#8961
|
|
|
|
/// ```
|
|
|
|
/// let _ = vec!['w', 'a', 't'];
|
|
|
|
/// ```
|
2022-02-01 05:21:42 -06:00
|
|
|
pub fn bar() {}
|