summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue_4936.rs
blob: c19e505fd03ad6b5c145f0aca15b8f6c3ce867a1 (plain)
1
2
3
4
5
6
7
8
9
10
#[discard_params_doc]
trait Trait {
    fn foo(
        &self,
        /// some docs
        bar: String,
        /// another docs
        baz: i32,
    );
}