File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ impl<'a> Components<'a> {
704704 ( comp. len ( ) + extra, self . parse_single_component ( comp) )
705705 }
706706
707- // trim away repeated separators (i.e. emtpy components) on the left
707+ // trim away repeated separators (i.e. empty components) on the left
708708 fn trim_left ( & mut self ) {
709709 while !self . path . is_empty ( ) {
710710 let ( size, comp) = self . parse_next_component ( ) ;
@@ -716,7 +716,7 @@ impl<'a> Components<'a> {
716716 }
717717 }
718718
719- // trim away repeated separators (i.e. emtpy components) on the right
719+ // trim away repeated separators (i.e. empty components) on the right
720720 fn trim_right ( & mut self ) {
721721 while self . path . len ( ) > self . len_before_body ( ) {
722722 let ( size, comp) = self . parse_next_component_back ( ) ;
You can’t perform that action at this time.
0 commit comments