mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 08:54:04 +00:00
Fix warning
This commit is contained in:
parent
af47ef94d5
commit
b55acb63f0
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ impl Worktree {
|
||||||
Ok(path)
|
Ok(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
fn inode_for_path(&self, path: impl AsRef<Path>) -> Option<u64> {
|
fn inode_for_path(&self, path: impl AsRef<Path>) -> Option<u64> {
|
||||||
let path = path.as_ref();
|
let path = path.as_ref();
|
||||||
self.root_inode().and_then(|mut inode| {
|
self.root_inode().and_then(|mut inode| {
|
||||||
|
|
Loading…
Reference in a new issue