helsing-ai / buffrs

Modern protobuf package management
https://crates.io/crates/buffrs
Apache License 2.0
214 stars 12 forks source link

Placate Clippy #191

Closed qsantos closed 11 months ago

qsantos commented 11 months ago

Just a minor lint I noticed when I had un-defaulted storage-s3:

warning: constants have by default a `'static` lifetime
  --> src/options.rs:41:25
   |
41 | const DEFAULT_STORAGE: &'static str = "filesystem";
   |                        -^^^^^^^---- help: consider removing `'static`: `&str`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
   = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default

warning: `buffrs-registry` (bin "buffrs-registry") generated 1 warning (run `cargo clippy --fix --bin "buffrs-registry"` to apply 1 suggestion)