Add missing slash in const_eval_select doc comment
This commit is contained in:
parent
bda221a0eb
commit
c7b579a7cb
1 changed files with 1 additions and 1 deletions
|
@ -2579,7 +2579,7 @@ extern "rust-intrinsic" {
|
|||
/// 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…
Add table
Add a link
Reference in a new issue