mirror of
https://github.com/rust-lang/rust
synced 2024-10-04 15:50:51 +00:00
Add missing slash in const_eval_select doc comment
This commit is contained in:
parent
bda221a0eb
commit
c7b579a7cb
|
@ -2579,7 +2579,7 @@ pub const fn ptr_guaranteed_cmp<T>(ptr: *const T, other: *const T) -> u8 {
|
|||
/// fn runtime() -> i32 { 1 }
|
||||
/// const fn compiletime() -> i32 { 2 }
|
||||
///
|
||||
// // ⚠ This code violates the required equivalence of `compiletime`
|
||||
/// // ⚠ This code violates the required equivalence of `compiletime`
|
||||
/// // and `runtime`.
|
||||
/// const_eval_select((), compiletime, runtime)
|
||||
/// }
|
||||
|
|
Loading…
Reference in a new issue