Sign in
fuchsia
/
third_party
/
rust
/
refs/tags/1.68.0
/
.
/
tests
/
rustdoc
/
struct-arg-pattern.rs
blob: 3bfb43a0bef2c7fed5758002ec0bf30484a185ce [
file
] [
log
] [
blame
]
#![
crate_name
=
"foo"
]
struct
BodyId
{
hir_id
:
usize
,
}
// @has 'foo/fn.body_owner.html' '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn body_owner(_: BodyId)'
pub
fn
body_owner
(
BodyId
{
hir_id
}:
BodyId
)
{
// ...
}