Skip to content

Commit ef1aae1

Browse files
authored
Modify wording and remove useless whitespaces.
1 parent 247fc38 commit ef1aae1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/num/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3845,11 +3845,11 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
38453845
///
38463846
/// This error is used as the error type for the `from_str_radix()` functions
38473847
/// on the primitive integer types, such as [`i8::from_str_radix`].
3848-
///
3848+
///
38493849
/// # Potential causes
38503850
///
3851-
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
3852-
/// in the string e.g. when it is getted from the standard input.
3851+
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
3852+
/// in the string e.g. when it is obtained from the standard input.
38533853
/// Using the [`str.trim()`] method ensures that no whitespace remains before parsing.
38543854
///
38553855
/// [`str.trim()`]: ../../std/primitive.str.html#method.trim

0 commit comments

Comments
 (0)