@@ -137,7 +137,7 @@ impl crate::Repository {
137137 let mut config_url = |key : & ' static config:: tree:: keys:: Url , kind : & ' static str | {
138138 self . config
139139 . resolved
140- . string_filter ( & format ! ( "remote.{}.{}" , name_or_url, key. name) , & mut filter)
140+ . string_filter ( format ! ( "remote.{}.{}" , name_or_url, key. name) , & mut filter)
141141 . map ( |url| {
142142 key. try_into_url ( url) . map_err ( |err| find:: Error :: Url {
143143 kind,
@@ -151,7 +151,7 @@ impl crate::Repository {
151151 let config = & self . config . resolved ;
152152
153153 let fetch_specs = config
154- . strings_filter ( & format ! ( "remote.{}.{}" , name_or_url, "fetch" ) , & mut filter)
154+ . strings_filter ( format ! ( "remote.{}.{}" , name_or_url, "fetch" ) , & mut filter)
155155 . map ( |specs| {
156156 config_spec (
157157 specs,
@@ -161,7 +161,7 @@ impl crate::Repository {
161161 )
162162 } ) ;
163163 let push_specs = config
164- . strings_filter ( & format ! ( "remote.{}.{}" , name_or_url, "push" ) , & mut filter)
164+ . strings_filter ( format ! ( "remote.{}.{}" , name_or_url, "push" ) , & mut filter)
165165 . map ( |specs| {
166166 config_spec (
167167 specs,
@@ -171,7 +171,7 @@ impl crate::Repository {
171171 )
172172 } ) ;
173173 let fetch_tags = config
174- . string_filter ( & format ! ( "remote.{}.{}" , name_or_url, "tagOpt" ) , & mut filter)
174+ . string_filter ( format ! ( "remote.{}.{}" , name_or_url, "tagOpt" ) , & mut filter)
175175 . map ( |value| {
176176 config:: tree:: Remote :: TAG_OPT
177177 . try_into_tag_opt ( value)
0 commit comments