Skip to content

Commit d3d7849

Browse files
authored
Merge pull request #3015 from mbartlett21/patch-1
Fix syntax in RFC 2145
2 parents 24cf67a + 752c75b commit d3d7849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/2145-type-privacy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ sufficiently smart type inference.
387387
mod m {
388388
struct Priv;
389389
pub struct Pub<T>(T);
390-
pub Trait { type A; }
390+
pub trait Trait { type A; }
391391

392392
// This is a private impl because `Pub<Priv>` is a private type
393393
impl Pub<Priv> {

0 commit comments

Comments
 (0)