mirror of https://github.com/rust-lang/rfcs.git
Correct the example code
This commit is contained in:
parent
bf6c1429ea
commit
8c4aedc836
|
@ -19,7 +19,7 @@ remaining case, private enum variants, can be rewritten as such:
|
||||||
// priv Baz,
|
// priv Baz,
|
||||||
// }
|
// }
|
||||||
|
|
||||||
enum Foo {
|
pub enum Foo {
|
||||||
Bar,
|
Bar,
|
||||||
Baz(BazInner)
|
Baz(BazInner)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue