summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4398.rs
blob: 2ca894528e99b5d3bc1e5223dbea9e2bec857db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
impl Struct {
    /// Documentation for `foo`
    #[rustfmt::skip] // comment on why use a skip here
    pub fn foo(&self) {}
}

impl Struct {
    /// Documentation for `foo`
    #[rustfmt::skip] // comment on why use a skip here
    pub fn foo(&self) {}
}

/// Documentation for `Struct`
#[rustfmt::skip] // comment
impl Struct {
    /// Documentation for `foo`
       #[rustfmt::skip] // comment on why use a skip here
    pub fn foo(&self) {}
}