Skip to content

Commit

Permalink
Merge pull request #3015 from mbartlett21/patch-1
Browse files Browse the repository at this point in the history
Fix syntax in RFC 2145
  • Loading branch information
kennytm authored Nov 11, 2020
2 parents 24cf67a + 752c75b commit d3d7849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/2145-type-privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ sufficiently smart type inference.
mod m {
struct Priv;
pub struct Pub<T>(T);
pub Trait { type A; }
pub trait Trait { type A; }

// This is a private impl because `Pub<Priv>` is a private type
impl Pub<Priv> {
Expand Down

0 comments on commit d3d7849

Please sign in to comment.