mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Add missing slash in const_eval_select doc comment
This commit is contained in:
parent
bda221a0eb
commit
c7b579a7cb
@ -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…
Reference in New Issue
Block a user