From a3e60bfb4252228eb663783a6631481f9ca81e74 Mon Sep 17 00:00:00 2001 From: Gaurav Kamathe Date: Sat, 1 Aug 2026 18:29:53 +0530 Subject: [PATCH] Remove unnecessary to_path_buf --- src/compiler/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/layout.rs b/src/compiler/layout.rs index ef1f208f92c..7c638ab04f9 100644 --- a/src/compiler/layout.rs +++ b/src/compiler/layout.rs @@ -466,7 +466,7 @@ impl BuildDirLayout { if self.is_new_layout { self.build_unit(pkg_dir).join("fingerprint") } else { - self.legacy_fingerprint().to_path_buf().join(pkg_dir) + self.legacy_fingerprint().join(pkg_dir) } } /// Fetch the fingerprint path. (old layout)