Clippy suggestions

This commit is contained in:
Félix Saparelli 2022-06-01 00:47:32 +12:00
parent 13a8e1e5fe
commit ac74da4a27
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474
6 changed files with 17 additions and 25 deletions

View file

@ -16,7 +16,7 @@ impl GhCrateMeta {
fn url(&self) -> Result<Url, BinstallError> {
let ctx = Context::from_data(&self.data);
debug!("Using context: {:?}", ctx);
Ok(ctx.render_url(&self.data.meta.pkg_url)?)
ctx.render_url(&self.data.meta.pkg_url)
}
}