Merge pull request #800 from portier/auto/update-deps #13
Annotations
1 warning
useless use of `vec!`:
src/web.rs#L459
warning: useless use of `vec!`
--> src/web.rs:459:15
|
459 | let csp = vec![
| _______________^
460 | | "sandbox allow-scripts allow-forms",
461 | | "default-src 'none'",
462 | | "script-src 'self'",
463 | | "style-src 'self'",
464 | | "form-action *",
465 | | ]
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
help: you can use an array directly
|
459 ~ let csp = ["sandbox allow-scripts allow-forms",
460 + "default-src 'none'",
461 + "script-src 'self'",
462 + "style-src 'self'",
463 + "form-action *"]
|
|