We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2185396 commit 28c7fa8Copy full SHA for 28c7fa8
crates/project-model/src/manifest_path.rs
@@ -36,7 +36,7 @@ impl ManifestPath {
36
}
37
38
pub fn canonicalize(&self) -> ! {
39
- self.canonicalize()
+ (&**self).canonicalize()
40
41
42
lib/la-arena/src/map.rs
@@ -253,7 +253,7 @@ where
253
/// Ensures a value is in the entry by inserting the default value if empty, and returns a mutable reference
254
/// to the value in the entry.
255
pub fn or_default(self) -> &'a mut V {
256
- self.or_default()
+ self.or_insert_with(Default::default)
257
258
259
0 commit comments