Changing the type of the asset description from String to Vec<u8> #657
Triggered via pull request
September 10, 2024 11:52
Status
Failure
Total duration
2m 18s
Artifacts
–
Annotations
1 error
this expression creates a reference which is immediately dereferenced by the compiler:
src/lib.rs#L66
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/note/asset_base.rs:66:67
|
66 | let encode_asset_id = [&version_byte[..], &ik.to_bytes(), &asset_desc].concat();
| ^^^^^^^^^^^ help: change this to: `asset_desc`
|
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|