]> git.lizzy.rs Git - rust.git/blob - tests/ui/doc_link_with_quotes.rs
Auto merge of #9622 - llogiq:box-dyn-default, r=Alexendoo
[rust.git] / tests / ui / doc_link_with_quotes.rs
1 #![warn(clippy::doc_link_with_quotes)]
2
3 fn main() {
4     foo()
5 }
6
7 /// Calls ['bar'] uselessly
8 pub fn foo() {
9     bar()
10 }
11
12 /// # Examples
13 /// This demonstrates issue \#8961
14 /// ```
15 /// let _ = vec!['w', 'a', 't'];
16 /// ```
17 pub fn bar() {}