Skip to content

Commit

Permalink
Add missing slash in const_eval_select doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrgani authored Jun 25, 2024
1 parent a451b2a commit 2ddf794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
/// }
Expand Down

0 comments on commit 2ddf794

Please sign in to comment.