You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect missing_doc lint to only check that publicly-visible code is documented. The following gets caught by the lint checker when I think that it shouldn't:
#[deny(missing_doc)]
mod internal_impl {
pub fn secret_sauce() {
// unstable, messy, or unsafe code
}
}
pub mod public_interface {
use super::internal_impl;
/// I do something.
pub fn do_something() {
// [do stuff]
internal_impl::secret_sauce();
// [do more stuff]
}
}