Skip to content

Commit d4d6cc1

Browse files
committed
pth : another error for TryFrom for AbsolutePath
1 parent 9c7029f commit d4d6cc1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ path = "module/alias/file_tools"
367367
default-features = false
368368

369369
[workspace.dependencies.pth]
370-
version = "~0.20.0"
370+
version = "~0.21.0"
371371
path = "module/core/pth"
372372
default-features = false
373373

module/core/pth/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pth"
3-
version = "0.20.0"
3+
version = "0.21.0"
44
edition = "2021"
55
authors = [
66
"Kostiantyn Wandalen <[email protected]>",

module/core/pth/src/path/absolute_path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ mod private
157157

158158
if !is_absolute( &path )
159159
{
160-
return Err( io::Error::new( io::ErrorKind::Other, "Path expected to be absolute, but it's not {path}" ) );
160+
return Err( io::Error::new( io::ErrorKind::Other, format!( "Path expected to be absolute, but it's not {path:?}" ) ) );
161161
}
162162

163163
Ok( Self( path ) )

0 commit comments

Comments
 (0)