File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ impl WorldGenerator for D {
478478 }
479479
480480 let mut interface_filepath = PathBuf :: from_iter ( fqn. split ( "." ) ) ;
481- interface_filepath. add_extension ( "d" ) ;
481+ interface_filepath. set_extension ( "d" ) ;
482482
483483 files. push ( interface_filepath. to_str ( ) . unwrap ( ) , r#gen. src . as_bytes ( ) ) ;
484484
@@ -678,7 +678,7 @@ impl WorldGenerator for D {
678678 }
679679
680680 let mut interface_filepath = PathBuf :: from_iter ( fqn. split ( "." ) ) ;
681- interface_filepath. add_extension ( "d" ) ;
681+ interface_filepath. set_extension ( "d" ) ;
682682
683683 files. push ( interface_filepath. to_str ( ) . unwrap ( ) , src. as_bytes ( ) ) ;
684684
@@ -740,7 +740,7 @@ impl WorldGenerator for D {
740740 r#gen. types ( id) ;
741741
742742 let mut interface_filepath = PathBuf :: from_iter ( fqn. split ( "." ) ) ;
743- interface_filepath. add_extension ( "d" ) ;
743+ interface_filepath. set_extension ( "d" ) ;
744744
745745 files. push ( interface_filepath. to_str ( ) . unwrap ( ) , r#gen. src . as_bytes ( ) ) ;
746746 }
You can’t perform that action at this time.
0 commit comments