Skip to content

Commit 8fa4258

Browse files
committed
mark a doctest with UB as no_run
1 parent d3fa9aa commit 8fa4258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/intrinsics.rs

Lines changed: 1 addition & 1 deletion
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)