Add missing slash in const_eval_select doc comment

This commit is contained in:
cyrgani 2024-06-25 13:37:22 +02:00 committed by GitHub
parent bda221a0eb
commit c7b579a7cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2579,7 +2579,7 @@ pub const fn ptr_guaranteed_cmp<T>(ptr: *const T, other: *const T) -> u8 {
/// 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)
/// }