Skip to content

Commit fec9f23

Browse files
committed
Fix build
1 parent e8bd42c commit fec9f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/hint.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ pub const fn must_use<T>(value: T) -> T {
523523
/// It can also be applied to parts of expressions, such as `likely(a) && unlikely(b)`, or to
524524
/// compound expressions, such as `likely(a && b)`. When applied to compound expressions, it has
525525
/// the following effect:
526-
/// ```
526+
/// ```text
527527
/// likely(!a) => !unlikely(a)
528528
/// likely(a && b) => likely(a) && likely(b)
529529
/// likely(a || b) => a || likely(b)
@@ -576,7 +576,7 @@ pub const fn likely(b: bool) -> bool {
576576
/// It can also be applied to parts of expressions, such as `likely(a) && unlikely(b)`, or to
577577
/// compound expressions, such as `unlikely(a && b)`. When applied to compound expressions, it has
578578
/// the following effect:
579-
/// ```
579+
/// ```text
580580
/// unlikely(!a) => !likely(a)
581581
/// unlikely(a && b) => a && unlikely(b)
582582
/// unlikely(a || b) => unlikely(a) || unlikely(b)

0 commit comments

Comments
 (0)