diff options
| author | Carol Nichols <carol.nichols@gmail.com> | 2015-04-29 22:43:26 -0400 |
|---|---|---|
| committer | Carol Nichols <carol.nichols@gmail.com> | 2015-04-29 22:43:26 -0400 |
| commit | 899d4180ef052c3bd7598d18ad1e5af0bc57fc88 (patch) | |
| tree | 75edc709b894b7a07d2a35cd608ed37c347d9981 /src/doc/reference.md | |
| parent | 551a74dddd84cf01440ee84148ebd18bc68bd7c8 (diff) | |
| download | rust-899d4180ef052c3bd7598d18ad1e5af0bc57fc88.tar.gz rust-899d4180ef052c3bd7598d18ad1e5af0bc57fc88.zip | |
Remove lingering mention of 'priv' in the reference
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index a71f8cf4250..eab28a4b7f2 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1562,8 +1562,7 @@ 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 -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`, +in a `pub` enum are also public by default. When an item is declared as `pub`, it can be thought of as being accessible to the outside world. For example: ``` |
