Modify wording and remove useless whitespaces.
This commit is contained in:
@@ -3849,7 +3849,7 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
|
|||||||
/// # Potential causes
|
/// # Potential causes
|
||||||
///
|
///
|
||||||
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
|
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
|
||||||
/// in the string e.g. when it is getted from the standard input.
|
/// in the string e.g. when it is obtained from the standard input.
|
||||||
/// Using the [`str.trim()`] method ensures that no whitespace remains before parsing.
|
/// Using the [`str.trim()`] method ensures that no whitespace remains before parsing.
|
||||||
///
|
///
|
||||||
/// [`str.trim()`]: ../../std/primitive.str.html#method.trim
|
/// [`str.trim()`]: ../../std/primitive.str.html#method.trim
|
||||||
|
|||||||
Reference in New Issue
Block a user