Generated Rust code causes clippy warning
09:40:42 > cargo clippy --all-targets
warning: the borrowed expression implements the required traits
--> /home/liw/tmp/cargo/debug/build/ambient-run-b4708dc14388fa7c/out/ambient-run.rs:519:13
|
519 | &base64_decode("aW1hZ2UucWNvdzI=")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `base64_decode("aW1hZ2UucWNvdzI=")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
warning: `ambient-run` (test "ambient-run") generated 1 warning (run `cargo clippy --fix --test "ambient-run"` to apply 1 suggestion)
We probably want to avoid generating the & for the string literal.