Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 3144d6b

Browse files
committed
fix unused_braces warning
1 parent 6e14983 commit 3144d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rls/src/actions/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub trait DiagnosticsNotifier: Send {
3333
fn new_progress_params(title: String) -> ProgressParams {
3434
// Counter to generate unique IDs for each chain-of-progress notification.
3535
lazy_static! {
36-
static ref PROGRESS_ID_COUNTER: AtomicUsize = { AtomicUsize::new(0) };
36+
static ref PROGRESS_ID_COUNTER: AtomicUsize = AtomicUsize::new(0);
3737
}
3838

3939
ProgressParams {

0 commit comments

Comments
 (0)