From 899d4180ef052c3bd7598d18ad1e5af0bc57fc88 Mon Sep 17 00:00:00 2001 From: Carol Nichols Date: Wed, 29 Apr 2015 22:43:26 -0400 Subject: [PATCH] Remove lingering mention of 'priv' in the reference --- src/doc/reference.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index a71f8cf4250a..eab28a4b7f24 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: ```