From dc91cc21e972abc9e9dfe10a5379682967bcd3b7 Mon Sep 17 00:00:00 2001 From: Noah Stiltner Date: Tue, 23 Jan 2024 19:36:02 -0600 Subject: [PATCH] add no_run for the bad example --- zeroize/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeroize/src/lib.rs b/zeroize/src/lib.rs index 9b03d54a..ad67b725 100644 --- a/zeroize/src/lib.rs +++ b/zeroize/src/lib.rs @@ -866,7 +866,7 @@ unsafe fn volatile_set(dst: *mut T, src: T, count: usize) { /// /// The below example shows what happens when `zeroize_flat_type` is ran on a type containing a /// smart pointer. -/// ``` +/// ```no_run /// use zeroize::zeroize_flat_type; /// /// struct UnsafeExample(String);