Render missing fields in tuple struct/enum as /* private fields */
This commit is contained in:
parent
3767e315ac
commit
1abbd4cd4f
7 changed files with 38 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
#![crate_name = "foo"]
|
||||
|
||||
// @has foo/struct.Foo.html '//pre[@class="rust item-decl"]' \
|
||||
// 'pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(_);'
|
||||
// 'pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>('
|
||||
pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue