Unnamed repository; edit this file 'description' to name the repository.
Fix CI 2
Johann Hemmann 2024-01-18
parent 2185396 · commit 28c7fa8
-rw-r--r--crates/project-model/src/manifest_path.rs2
-rw-r--r--lib/la-arena/src/map.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/project-model/src/manifest_path.rs b/crates/project-model/src/manifest_path.rs
index 890b1d058f..490e1a4ea8 100644
--- a/crates/project-model/src/manifest_path.rs
+++ b/crates/project-model/src/manifest_path.rs
@@ -36,7 +36,7 @@ impl ManifestPath {
}
pub fn canonicalize(&self) -> ! {
- self.canonicalize()
+ (&**self).canonicalize()
}
}
diff --git a/lib/la-arena/src/map.rs b/lib/la-arena/src/map.rs
index 741ae5bfc5..750f345b53 100644
--- a/lib/la-arena/src/map.rs
+++ b/lib/la-arena/src/map.rs
@@ -253,7 +253,7 @@ where
/// Ensures a value is in the entry by inserting the default value if empty, and returns a mutable reference
/// to the value in the entry.
pub fn or_default(self) -> &'a mut V {
- self.or_default()
+ self.or_insert_with(Default::default)
}
}