File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/code_samples/tut_paths Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ fn main() {
3333 let another_long_path = Path :: from_components ( & [ component1, component2, component4] ) . unwrap ( ) ;
3434 println ! (
3535 "The longest common prefix of long_path and another_long_path is: {:?}" ,
36- ideas_path . longest_common_prefix( & another_long_path)
36+ long_path . longest_common_prefix( & another_long_path)
3737 ) ;
3838}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ fn main() {
3333 let another_long_path = Path :: from_components ( & [ component1, component2, component4] ) . unwrap ( ) ;
3434 println ! (
3535 "The longest common prefix of long_path and another_long_path is: {:?}" ,
36- ideas_path . longest_common_prefix( & another_long_path)
36+ long_path . longest_common_prefix( & another_long_path)
3737 ) ;
3838
3939 let path2 = path ! ( "/ideas/game/music" ) ;
You can’t perform that action at this time.
0 commit comments