[librsvg/update-clap] Remove superfluous reference
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/update-clap] Remove superfluous reference
- Date: Tue, 20 Sep 2022 17:07:55 +0000 (UTC)
commit 5d2c0c77f695dd8008bbf7d1352128491a2a8cc0
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Sep 20 12:06:55 2022 -0500
Remove superfluous reference
src/bin/rsvg-convert.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/bin/rsvg-convert.rs b/src/bin/rsvg-convert.rs
index bde6643d3..d4aa82fb5 100644
--- a/src/bin/rsvg-convert.rs
+++ b/src/bin/rsvg-convert.rs
@@ -997,7 +997,7 @@ fn parse_args() -> Result<Converter, Error> {
let language = match matches.get_one::<String>("accept-language") {
None => Language::FromEnvironment,
- Some(s) => AcceptLanguage::parse(&s)
+ Some(s) => AcceptLanguage::parse(s)
.map(Language::AcceptLanguage)
.map_err(|e| {
let desc = format!("{}", e);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]