diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-09-19 16:39:23 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-09-22 17:54:09 -0400 |
| commit | 6c348dfe720e9c516b47beb1e318b8b3544ffe12 (patch) | |
| tree | 37fd314090b54e1a8f89a588c74f058d2daac228 /src | |
| parent | 19e814ed9895c64ef362fe5834bc15678a8f10c3 (diff) | |
| download | rust-6c348dfe720e9c516b47beb1e318b8b3544ffe12.tar.gz rust-6c348dfe720e9c516b47beb1e318b8b3544ffe12.zip | |
rust -> Rust
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 2566db7a8a9..d1d06195e2b 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1689,7 +1689,7 @@ of an item to see whether it should be allowed or not. This is where privacy warnings are generated, or otherwise "you used a private item of another module and weren't allowed to." -By default, everything in rust is *private*, with one exception. Enum variants +By default, everything in Rust is *private*, with one exception. Enum variants in a `pub` enum are also public by default. You are allowed to alter this default visibility with the `priv` keyword. When an item is declared as `pub`, it can be thought of as being accessible to the outside world. For example: |
