Hi!
Suppose I have a pub(crate) struct Foo
. How should I mark public methods on this struct? pub fn bar(&self)
or pub(crate) fn bar(&self)
. The letter one seems more correct, but it also looks superfluous, because the struct itself is only pub(crate)
...