Skip to content

Commit 26eab6a

Browse files
authored
Specify 0 of type u32
1 parent 0d9a2ab commit 26eab6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/primitive_docs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ mod prim_bool {}
222222
///
223223
/// The reason is that, in the first example, there are many possible types for `!` to coerce
224224
/// to, because the function's return value is polymorphic. However, in the second example, the
225-
/// other branch returns `0` which has a concrete type that `!` can be coerced to. See issue
226-
/// [#36375] for more information on this quirk of `!`.
225+
/// other branch returns a `0` of type `u32`, which is a concrete type that `!` can be coerced to.
226+
/// See issue [#36375] for more information on this quirk of `!`.
227227
///
228228
/// [#36375]: https://github.com/rust-lang/rust/issues/36375
229229
///

0 commit comments

Comments
 (0)