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 committed Jun 25, 2024
1 parent bda221a commit c7b579a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 c7b579a

Please sign in to comment.