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 {
25112511 }
25122512}
25132513
2514- /// String converstion .
2514+ /// String conversion .
25152515impl From < Url > for String {
25162516 fn from ( value : Url ) -> String {
25172517 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 {
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]
15691569pub 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:/"
15751575fn path_starts_with_windows_drive_letter ( s : & str ) -> bool {
15761576 if let Some ( c) = s. as_bytes ( ) . get ( 0 ) {
You can’t perform that action at this time.
0 commit comments