diff options
Diffstat (limited to 'doc/rust.md')
| -rw-r--r-- | doc/rust.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/rust.md b/doc/rust.md index 389ea58ee15..c0104e0f756 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1548,6 +1548,7 @@ keyword for struct fields and enum variants). When an item is declared as `pub`, it can be thought of as being accessible to the outside world. For example: ~~~~ +# fn main() {} // Declare a private struct struct Foo; |
