Skip to content

Commit 5dd6418

Browse files
committedJan 26, 2024
mark a doctest with UB as no_run
1 parent 69db514 commit 5dd6418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ extern "rust-intrinsic" {
25312531
/// or `false`, and the caller has to ensure sound behavior for both cases.
25322532
/// In other words, the following code has *Undefined Behavior*:
25332533
///
2534-
/// ```
2534+
/// ```no_run
25352535
/// #![feature(is_val_statically_known)]
25362536
/// #![feature(core_intrinsics)]
25372537
/// # #![allow(internal_features)]

0 commit comments

Comments
 (0)
Please sign in to comment.