Skip to content

Fix new clippy warnings

Sven Neumann requested to merge svenfoo/librsvg:fix-new-clippy-warnings into master

With the release of Rust 1.50 and updates to Clippy some new warnings emerged.

This pull request fixes some of them. However there are some warnings left about return values unnecessarily wrapped by Result. I may get to them later, but they are not trivial to fix and maybe they are better addressed by the developers who wrote that code in the first place...

You may want to merge this already, but please review the PathOrUrl::new() change carefully.

Edited by Sven Neumann

Merge request reports