rust -> Rust

This commit is contained in:
Steve Klabnik 2014-09-19 16:39:23 -04:00 committed by Manish Goregaokar
parent 52ca55a213
commit d446b6684a
1 changed files with 1 additions and 1 deletions

View File

@ -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: