Skip to content

Commit

Permalink
Document that trait methods have the same visibility as their parent …
Browse files Browse the repository at this point in the history
…trait
  • Loading branch information
asterite committed Jan 7, 2025
1 parent b1fc0f3 commit 56da538
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/noir/concepts/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,3 +582,5 @@ pub trait Trait {}
// This trait alias is now public
pub trait Baz = Foo + Bar;
```

Trait methods have the same visibility as the trait they are in.

0 comments on commit 56da538

Please sign in to comment.