From dc351ced4049f1349d9eb183bbc24e33d0cceb40 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 1 Oct 2023 15:57:10 +0200 Subject: [PATCH] drop doctests that can only be run on Windows --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e211e24..3d41bc8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -122,7 +122,7 @@ //! returns a string length for us and we don't need to pass error messages into other FFI //! functions so we don't need to worry about nul values. //! -//! ```rust +//! ```rust,ignore //! # #[cfg(any(not(windows), not(feature = "alloc")))] //! # fn main() {} //! # extern crate winapi; @@ -166,7 +166,7 @@ //! //! The following example is the functionally the same, only using [`U16CString`] instead. //! -//! ```rust +//! ```rust,ignore //! # #[cfg(any(not(windows), not(feature = "alloc")))] //! # fn main() {} //! # extern crate winapi; -- 2.41.0