Skip to content

Commit fe6db32

Browse files
committed
docs: tweak wording
1 parent 4fff4fa commit fe6db32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/args/fraction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl TryFrom<f32> for Fraction {
4141
}
4242
}
4343

44-
/// Error that occurs when converting a string into an instance of [`Fraction`].
44+
/// Error that occurs when parsing a string as [`Fraction`].
4545
#[derive(Debug, Display, Clone, PartialEq, Eq, Error)]
4646
pub enum FromStrError {
4747
ParseFloatError(ParseFloatError),

src/args/threads.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub enum Threads {
1515
Fixed(usize),
1616
}
1717

18-
/// Error that occurs when converting a string to an instance of [`Threads`].
18+
/// Error that occurs when parsing a string to as [`Threads`].
1919
#[derive(Debug, Display, Clone, PartialEq, Eq, Error)]
2020
#[non_exhaustive]
2121
pub enum FromStrError {

0 commit comments

Comments
 (0)