Skip to content

Commit 013a03c

Browse files
authored
Update 0000-default-field-values.md
Tweak `pub(default)` syntax
1 parent 9a3d726 commit 013a03c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/0000-default-field-values.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,9 +1685,9 @@ pub mod foo {
16851685

16861686
```rust
16871687
pub mod foo {
1688-
pub(default) struct Alpha {
1689-
beta: u8 = 42,
1690-
gamma: bool = true,
1688+
struct Alpha {
1689+
pub(default) beta: u8 = 42,
1690+
pub(default) gamma: bool = true,
16911691
}
16921692
}
16931693
```

0 commit comments

Comments
 (0)