Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base-db/src/change.rs')
| -rw-r--r-- | crates/base-db/src/change.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/base-db/src/change.rs b/crates/base-db/src/change.rs index 1f19556a76..b5964ff5b4 100644 --- a/crates/base-db/src/change.rs +++ b/crates/base-db/src/change.rs @@ -82,9 +82,5 @@ impl FileChange { } fn durability(source_root: &SourceRoot) -> Durability { - if source_root.is_library { - Durability::HIGH - } else { - Durability::LOW - } + if source_root.is_library { Durability::HIGH } else { Durability::LOW } } |