Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve clippy::needless_pass_by_ref_mut warning
``` warning: this argument is a mutable reference, but not used mutably --> src/collada/image.rs:78:24 | 78 | fn parse_image<'a>(cx: &mut Context<'a>, node: xml::Node<'a, '_>) -> io::Result<Image<'a>> { | ^^^^^^^^^^^^^^^^ help: consider changing to: `&Context<'a>` | = note: this is cfg-gated and may require further changes = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut = note: `-W clippy::needless-pass-by-ref-mut` implied by `-W clippy::nursery` = help: to override `-W clippy::nursery` add `#[allow(clippy::needless_pass_by_ref_mut)]` ```
- Loading branch information