]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-4398.rs
Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
[rust.git] / src / tools / rustfmt / tests / target / issue-4398.rs
1 impl Struct {
2     /// Documentation for `foo`
3     #[rustfmt::skip] // comment on why use a skip here
4     pub fn foo(&self) {}
5 }
6
7 impl Struct {
8     /// Documentation for `foo`
9     #[rustfmt::skip] // comment on why use a skip here
10     pub fn foo(&self) {}
11 }
12
13 /// Documentation for `Struct`
14 #[rustfmt::skip] // comment
15 impl Struct {
16     /// Documentation for `foo`
17        #[rustfmt::skip] // comment on why use a skip here
18     pub fn foo(&self) {}
19 }