On Mon, 10 Nov 2025 at 19:35, Miguel Ojeda ojeda@kernel.org wrote:
Examples (i.e. doctests) may want to show public items such as structs, thus the `unreachable_pub` warning is not very helpful.
Thus allow it for all doctests.
In addition, remove it from the existing `expect`s we have in a couple doctests.
Suggested-by: Alice Ryhl aliceryhl@google.com Link: https://lore.kernel.org/rust-for-linux/aRG9VjsaCjsvAwUn@google.com/ Signed-off-by: Miguel Ojeda ojeda@kernel.org
Reviewed-by: David Gow davidgow@google.com
Cheers, -- David