diff --git a/framework-crates/objc2-scene-kit/src/lib.rs b/framework-crates/objc2-scene-kit/src/lib.rs index 9d6d6b0a2..b348d8c40 100644 --- a/framework-crates/objc2-scene-kit/src/lib.rs +++ b/framework-crates/objc2-scene-kit/src/lib.rs @@ -16,6 +16,8 @@ extern crate alloc; #[cfg(feature = "std")] extern crate std; +#[cfg(not(doctest))] // Some documentation is interpreted as a doctest mod generated; +#[cfg(not(doctest))] #[allow(unused_imports, unreachable_pub)] pub use self::generated::*;