Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/paths/src/lib.rs')
-rw-r--r--crates/paths/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/paths/src/lib.rs b/crates/paths/src/lib.rs
index 3d722b1ff1..2c6a82bf0c 100644
--- a/crates/paths/src/lib.rs
+++ b/crates/paths/src/lib.rs
@@ -248,7 +248,9 @@ impl AbsPath {
}
pub fn canonicalize(&self) -> ! {
- panic!("We explicitly do not provide canonicalization API, as that is almost always a wrong solution, see #14430")
+ panic!(
+ "We explicitly do not provide canonicalization API, as that is almost always a wrong solution, see #14430"
+ )
}
/// Equivalent of [`Utf8Path::strip_prefix`] for `AbsPath`.