diff options
author | Daniel Sedlak | 2024-01-17 18:40:45 +0000 |
---|---|---|
committer | GitHub | 2024-01-17 18:40:45 +0000 |
commit | af8e524a7d06253fa854bf8954f64312e11d0ea0 (patch) | |
tree | d36deaffca3049d67d46aff35fb500644cb700df /helix-term/src/ui/spinner.rs | |
parent | c60ba4ba04de56f37f4f4b19051bc4a1e68b3484 (diff) |
Address clippy lints (#9371)
Diffstat (limited to 'helix-term/src/ui/spinner.rs')
-rw-r--r-- | helix-term/src/ui/spinner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/spinner.rs b/helix-term/src/ui/spinner.rs index 68965469..379c4489 100644 --- a/helix-term/src/ui/spinner.rs +++ b/helix-term/src/ui/spinner.rs @@ -11,7 +11,7 @@ impl ProgressSpinners { } pub fn get_or_create(&mut self, id: usize) -> &mut Spinner { - self.inner.entry(id).or_insert_with(Spinner::default) + self.inner.entry(id).or_default() } } |