Skip to content

Commit d673c4d

Browse files
authored
Merge pull request #710 from striezel-stash/typos
fix some typos
2 parents 6c22912 + 004af2f commit d673c4d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

url/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2511,7 +2511,7 @@ impl fmt::Display for Url {
25112511
}
25122512
}
25132513

2514-
/// String converstion.
2514+
/// String conversion.
25152515
impl From<Url> for String {
25162516
fn from(value: Url) -> String {
25172517
value.serialization

url/src/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,14 +1563,14 @@ fn is_normalized_windows_drive_letter(segment: &str) -> bool {
15631563
is_windows_drive_letter(segment) && segment.as_bytes()[1] == b':'
15641564
}
15651565

1566-
/// Wether the scheme is file:, the path has a single segment, and that segment
1566+
/// Whether the scheme is file:, the path has a single segment, and that segment
15671567
/// is a Windows drive letter
15681568
#[inline]
15691569
pub fn is_windows_drive_letter(segment: &str) -> bool {
15701570
segment.len() == 2 && starts_with_windows_drive_letter(segment)
15711571
}
15721572

1573-
/// Wether path starts with a root slash
1573+
/// Whether path starts with a root slash
15741574
/// and a windows drive letter eg: "/c:" or "/a:/"
15751575
fn path_starts_with_windows_drive_letter(s: &str) -> bool {
15761576
if let Some(c) = s.as_bytes().get(0) {

0 commit comments

Comments
 (0)