We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d8d04d commit 5fc78caCopy full SHA for 5fc78ca
packages/std/src/conversion.rs
@@ -1,7 +1,7 @@
1
/// Converts an input of type usize to u32.
2
///
3
/// On 32 bit platforms such as wasm32 this is just a safe cast.
4
-/// On other plaftforms the conversion panic for values larger than
+/// On other platforms the conversion panics for values larger than
5
/// `u32::MAX`.
6
#[inline]
7
pub fn force_to_u32(input: usize) -> u32 {
0 commit comments