File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2511,7 +2511,7 @@ impl fmt::Display for Url {
2511
2511
}
2512
2512
}
2513
2513
2514
- /// String converstion .
2514
+ /// String conversion .
2515
2515
impl From < Url > for String {
2516
2516
fn from ( value : Url ) -> String {
2517
2517
value. serialization
Original file line number Diff line number Diff line change @@ -1563,14 +1563,14 @@ fn is_normalized_windows_drive_letter(segment: &str) -> bool {
1563
1563
is_windows_drive_letter ( segment) && segment. as_bytes ( ) [ 1 ] == b':'
1564
1564
}
1565
1565
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
1567
1567
/// is a Windows drive letter
1568
1568
#[ inline]
1569
1569
pub fn is_windows_drive_letter ( segment : & str ) -> bool {
1570
1570
segment. len ( ) == 2 && starts_with_windows_drive_letter ( segment)
1571
1571
}
1572
1572
1573
- /// Wether path starts with a root slash
1573
+ /// Whether path starts with a root slash
1574
1574
/// and a windows drive letter eg: "/c:" or "/a:/"
1575
1575
fn path_starts_with_windows_drive_letter ( s : & str ) -> bool {
1576
1576
if let Some ( c) = s. as_bytes ( ) . get ( 0 ) {
You can’t perform that action at this time.
0 commit comments