]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/struct-arg-pattern.rs
Rollup merge of #85663 - fee1-dead:document-arc-from, r=m-ou-se
[rust.git] / src / test / rustdoc / struct-arg-pattern.rs
1 #![crate_name = "foo"]
2
3 struct BodyId {
4     hir_id: usize,
5 }
6
7 // @has 'foo/fn.body_owner.html' '//*[@class="rust fn"]' 'pub fn body_owner(_: BodyId)'
8 pub fn body_owner(BodyId { hir_id }: BodyId) {
9     // ...
10 }