Commit 767a6bd
authored
struct_visibility.md: Remove unneeded '#[allow(dead_code)]' (#1609)
Directive to allow dead code on struct ClosedBox is not needed and confusing. It is used when calling using the public constructor about line 44: `let _closed_box = my::ClosedBox::new("classified information");`1 parent d1db42f commit 767a6bd
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
| 58 | + | |
0 commit comments