From 56da538b43262f64ac003e17a0772dcc2d21314d Mon Sep 17 00:00:00 2001 From: Ary Borenszweig Date: Tue, 7 Jan 2025 07:46:47 -0300 Subject: [PATCH] Document that trait methods have the same visibility as their parent trait --- docs/docs/noir/concepts/traits.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/noir/concepts/traits.md b/docs/docs/noir/concepts/traits.md index b6c0a886eb0..1b232dcf8ab 100644 --- a/docs/docs/noir/concepts/traits.md +++ b/docs/docs/noir/concepts/traits.md @@ -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.