Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo last two #71

Merged
merged 2 commits into from
Oct 10, 2023

Revert "Add exponential backoff to queries using RetryClient (#60)"

a03790b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Undo last two #71

Revert "Add exponential backoff to queries using RetryClient (#60)"
a03790b
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Oct 10, 2023 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.75.0-nightly (59edd6705 2023-10-09)
  • cargo 1.75.0-nightly (794d0a825 2023-10-03)
  • clippy 0.1.75 (59edd67 2023-10-09)

Annotations

Check warning on line 360 in crates/freeze/src/datasets/logs.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert` to construct default value

warning: use of `or_insert` to construct default value
   --> crates/freeze/src/datasets/logs.rs:360:64
    |
360 | ...                   let tokens = map.entry(param.name).or_insert(Vec::new());
    |                                                          ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default

Check warning on line 251 in crates/freeze/src/datasets/logs.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert` to construct default value

warning: use of `or_insert` to construct default value
   --> crates/freeze/src/datasets/logs.rs:251:42
    |
251 |                 self.event_cols.entry(k).or_insert(Vec::new()).extend(v);
    |                                          ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
    = note: `#[warn(clippy::unwrap_or_default)]` on by default