Skip to content

Commit 5aedb8a

Browse files
authored
Rollup merge of rust-lang#126946 - cyrgani:patch-1, r=compiler-errors
Add missing slash in `const_eval_select` doc comment In the middle of the doc comment, one line has only two slashes instead of three and isn't included in the [rendered documentation](https://doc.rust-lang.org/std/intrinsics/fn.const_eval_select.html#stability-concerns). This PR adds the missing slash.
2 parents 5664da3 + 2ddf794 commit 5aedb8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ extern "rust-intrinsic" {
25792579
/// fn runtime() -> i32 { 1 }
25802580
/// const fn compiletime() -> i32 { 2 }
25812581
///
2582-
// // ⚠ This code violates the required equivalence of `compiletime`
2582+
/// // ⚠ This code violates the required equivalence of `compiletime`
25832583
/// // and `runtime`.
25842584
/// const_eval_select((), compiletime, runtime)
25852585
/// }

0 commit comments

Comments
 (0)