fix: avoid attachment id duplication #1420
Annotations
4 errors
lint:
src/rgb.rs#L1990
error: accessing first element with `all_bids.clone().get(0)`
--> src/rgb.rs:1990:10
|
1990 | }) = all_bids.clone().get(0)
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `all_bids.clone().first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
|
lint
Process completed with exit code 1.
|
lint-wasm:
src/rgb.rs#L1990
error: accessing first element with `all_bids.clone().get(0)`
--> src/rgb.rs:1990:10
|
1990 | }) = all_bids.clone().get(0)
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `all_bids.clone().first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
|
lint-wasm
Process completed with exit code 1.
|