Content-Length: 262152 | pFad | https://github.com/celinval/rust-dev/commit/5aedb8ada69b3882aea52d41bf43b0cf7fab5f32

95 Rollup merge of #126946 - cyrgani:patch-1, r=compiler-errors · celinval/rust-dev@5aedb8a · GitHub
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

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

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/celinval/rust-dev/commit/5aedb8ada69b3882aea52d41bf43b0cf7fab5f32

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy