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 @@ -36,7 +36,7 @@ fn new() {
3636#[ test]
3737fn new_with_default_template ( ) {
3838 let tmp = tempfile:: tempdir ( ) . unwrap ( ) ;
39- let path = Utf8PathBuf :: from_path_buf ( tmp. into_path ( ) ) . expect ( "Non Utf8 Path" ) ;
39+ let path = Utf8PathBuf :: from_path_buf ( tmp. keep ( ) ) . expect ( "Non Utf8 Path" ) ;
4040
4141 let creator = super :: Creator :: new (
4242 super :: NewOptions {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use hexpm::{
88 version:: { Range , Version } ,
99} ;
1010use pubgrub:: { Dependencies , Map } ;
11- use thiserror:: Error ;
11+ use thiserror;
1212
1313pub type PackageVersions = HashMap < String , Version > ;
1414
@@ -192,7 +192,7 @@ pub trait PackageFetcher {
192192 fn get_dependencies ( & self , package : & str ) -> Result < Rc < hexpm:: Package > , PackageFetchError > ;
193193}
194194
195- #[ derive( Debug , Error ) ]
195+ #[ derive( Debug , thiserror :: Error ) ]
196196pub enum PackageFetchError {
197197 #[ error( "{0}" ) ]
198198 ApiError ( hexpm:: ApiError ) ,
You can’t perform that action at this time.
0 commit comments