Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 1ac2ed0

Browse files
committed
Resolve borrow_deref_ref clippy lint
error: deref on an immutable reference --> src/copy/citm_catalog.rs:241:58 | 241 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = note: `-D clippy::borrow-deref-ref` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:249:58 | 249 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:257:58 | 257 | ::rustc_serialize::Encodable::encode(&(*__self_0_2), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_2` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:265:58 | 265 | ::rustc_serialize::Encodable::encode(&(*__self_0_3), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_3` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:273:58 | 273 | ::rustc_serialize::Encodable::encode(&(*__self_0_4), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 273 | ::rustc_serialize::Encodable::encode(__self_0_4, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 273 | ::rustc_serialize::Encodable::encode(&**__self_0_4, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:281:58 | 281 | ::rustc_serialize::Encodable::encode(&(*__self_0_5), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_5` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:289:58 | 289 | ::rustc_serialize::Encodable::encode(&(*__self_0_6), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_6` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:297:58 | 297 | ::rustc_serialize::Encodable::encode(&(*__self_0_7), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_7` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:305:58 | 305 | ::rustc_serialize::Encodable::encode(&(*__self_0_8), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_8` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:313:58 | 313 | ::rustc_serialize::Encodable::encode(&(*__self_0_9), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_9` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:321:58 | 321 | ::rustc_serialize::Encodable::encode(&(*__self_0_10), _e) | ^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_10` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:434:58 | 434 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:442:58 | 442 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:450:58 | 450 | ::rustc_serialize::Encodable::encode(&(*__self_0_2), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_2` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:458:58 | 458 | ::rustc_serialize::Encodable::encode(&(*__self_0_3), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 458 | ::rustc_serialize::Encodable::encode(__self_0_3, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 458 | ::rustc_serialize::Encodable::encode(&**__self_0_3, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:466:58 | 466 | ::rustc_serialize::Encodable::encode(&(*__self_0_4), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 466 | ::rustc_serialize::Encodable::encode(__self_0_4, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 466 | ::rustc_serialize::Encodable::encode(&**__self_0_4, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:474:58 | 474 | ::rustc_serialize::Encodable::encode(&(*__self_0_5), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_5` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:482:58 | 482 | ::rustc_serialize::Encodable::encode(&(*__self_0_6), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_6` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:490:58 | 490 | ::rustc_serialize::Encodable::encode(&(*__self_0_7), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 490 | ::rustc_serialize::Encodable::encode(__self_0_7, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 490 | ::rustc_serialize::Encodable::encode(&**__self_0_7, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:614:58 | 614 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:622:58 | 622 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:630:58 | 630 | ::rustc_serialize::Encodable::encode(&(*__self_0_2), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_2` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:638:58 | 638 | ::rustc_serialize::Encodable::encode(&(*__self_0_3), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_3` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:646:58 | 646 | ::rustc_serialize::Encodable::encode(&(*__self_0_4), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 646 | ::rustc_serialize::Encodable::encode(__self_0_4, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 646 | ::rustc_serialize::Encodable::encode(&**__self_0_4, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:654:58 | 654 | ::rustc_serialize::Encodable::encode(&(*__self_0_5), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 654 | ::rustc_serialize::Encodable::encode(__self_0_5, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 654 | ::rustc_serialize::Encodable::encode(&**__self_0_5, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:662:58 | 662 | ::rustc_serialize::Encodable::encode(&(*__self_0_6), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_6` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:670:58 | 670 | ::rustc_serialize::Encodable::encode(&(*__self_0_7), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_7` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:678:58 | 678 | ::rustc_serialize::Encodable::encode(&(*__self_0_8), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 678 | ::rustc_serialize::Encodable::encode(__self_0_8, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 678 | ::rustc_serialize::Encodable::encode(&**__self_0_8, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:740:58 | 740 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:748:58 | 748 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:756:58 | 756 | ::rustc_serialize::Encodable::encode(&(*__self_0_2), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_2` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:807:58 | 807 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 807 | ::rustc_serialize::Encodable::encode(__self_0_0, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 807 | ::rustc_serialize::Encodable::encode(&**__self_0_0, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/citm_catalog.rs:815:58 | 815 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:866:58 | 866 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/citm_catalog.rs:874:58 | 874 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/twitter.rs:434:58 | 434 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/twitter.rs:442:58 | 442 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/twitter.rs:450:58 | 450 | ::rustc_serialize::Encodable::encode(&(*__self_0_2), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_2` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/twitter.rs:458:58 | 458 | ::rustc_serialize::Encodable::encode(&(*__self_0_3), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 458 | ::rustc_serialize::Encodable::encode(__self_0_3, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 458 | ::rustc_serialize::Encodable::encode(&**__self_0_3, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/twitter.rs:466:58 | 466 | ::rustc_serialize::Encodable::encode(&(*__self_0_4), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 466 | ::rustc_serialize::Encodable::encode(__self_0_4, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 466 | ::rustc_serialize::Encodable::encode(&**__self_0_4, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/twitter.rs:474:58 | 474 | ::rustc_serialize::Encodable::encode(&(*__self_0_5), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 474 | ::rustc_serialize::Encodable::encode(__self_0_5, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 474 | ::rustc_serialize::Encodable::encode(&**__self_0_5, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/twitter.rs:482:58 | 482 | ::rustc_serialize::Encodable::encode(&(*__self_0_6), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 482 | ::rustc_serialize::Encodable::encode(__self_0_6, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 482 | ::rustc_serialize::Encodable::encode(&**__self_0_6, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/twitter.rs:490:58 | 490 | ::rustc_serialize::Encodable::encode(&(*__self_0_7), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 490 | ::rustc_serialize::Encodable::encode(__self_0_7, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 490 | ::rustc_serialize::Encodable::encode(&**__self_0_7, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/twitter.rs:498:58 | 498 | ::rustc_serialize::Encodable::encode(&(*__self_0_8), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 498 | ::rustc_serialize::Encodable::encode(__self_0_8, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 498 | ::rustc_serialize::Encodable::encode(&**__self_0_8, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/copy/twitter.rs:506:58 | 506 | ::rustc_serialize::Encodable::encode(&(*__self_0_9), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_9` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/twitter.rs:514:58 | 514 | ::rustc_serialize::Encodable::encode(&(*__self_0_10), _e) | ^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_10` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/copy/twitter.rs:522:58 | 522 | ::rustc_serialize::Encodable::encode(&(*__self_0_11), _e) | ^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_11` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/canada.rs:89:58 | 89 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/canada.rs:97:58 | 97 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 97 | ::rustc_serialize::Encodable::encode(__self_0_1, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 97 | ::rustc_serialize::Encodable::encode(&**__self_0_1, _e) | ~~~~~~~~~~~~~ error: deref on an immutable reference --> src/canada.rs:159:58 | 159 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/canada.rs:167:58 | 167 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/canada.rs:175:58 | 175 | ::rustc_serialize::Encodable::encode(&(*__self_0_2), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_2` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/canada.rs:226:58 | 226 | ::rustc_serialize::Encodable::encode(&(*__self_0_0), _e) | ^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `__self_0_0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref error: deref on an immutable reference --> src/canada.rs:234:58 | 234 | ::rustc_serialize::Encodable::encode(&(*__self_0_1), _e) | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref help: if you would like to reborrow, try removing `&*` | 234 | ::rustc_serialize::Encodable::encode(__self_0_1, _e) | ~~~~~~~~~~ help: if you would like to deref, try using `&**` | 234 | ::rustc_serialize::Encodable::encode(&**__self_0_1, _e) | ~~~~~~~~~~~~~
1 parent f814299 commit 1ac2ed0

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

src/canada.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ impl ::rustc_serialize::Decodable for FeatureCollection {
7575
}
7676

7777
#[cfg(feature = "lib-rustc-serialize")]
78+
#[allow(clippy::borrow_deref_ref)]
7879
impl ::rustc_serialize::Encodable for FeatureCollection {
7980
fn encode<__S: ::rustc_serialize::Encoder>(
8081
&self,
@@ -144,6 +145,7 @@ impl ::rustc_serialize::Decodable for Feature {
144145
}
145146

146147
#[cfg(feature = "lib-rustc-serialize")]
148+
#[allow(clippy::borrow_deref_ref)]
147149
impl ::rustc_serialize::Encodable for Feature {
148150
fn encode<__S: ::rustc_serialize::Encoder>(
149151
&self,
@@ -212,6 +214,7 @@ impl ::rustc_serialize::Decodable for Geometry {
212214
}
213215

214216
#[cfg(feature = "lib-rustc-serialize")]
217+
#[allow(clippy::borrow_deref_ref)]
215218
impl ::rustc_serialize::Encodable for Geometry {
216219
fn encode<__S: ::rustc_serialize::Encoder>(
217220
&self,

src/copy/citm_catalog.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ impl ::rustc_serialize::Decodable for CitmCatalog {
218218
}
219219

220220
#[cfg(feature = "lib-rustc-serialize")]
221+
#[allow(clippy::borrow_deref_ref)]
221222
impl ::rustc_serialize::Encodable for CitmCatalog {
222223
fn encode<__S: ::rustc_serialize::Encoder>(
223224
&self,
@@ -414,6 +415,7 @@ impl ::rustc_serialize::Decodable for Event {
414415
}
415416

416417
#[cfg(feature = "lib-rustc-serialize")]
418+
#[allow(clippy::borrow_deref_ref)]
417419
impl ::rustc_serialize::Encodable for Event {
418420
fn encode<__S: ::rustc_serialize::Encoder>(
419421
&self,
@@ -593,6 +595,7 @@ impl ::rustc_serialize::Decodable for Performance {
593595
}
594596

595597
#[cfg(feature = "lib-rustc-serialize")]
598+
#[allow(clippy::borrow_deref_ref)]
596599
impl ::rustc_serialize::Encodable for Performance {
597600
fn encode<__S: ::rustc_serialize::Encoder>(
598601
&self,
@@ -725,6 +728,7 @@ impl ::rustc_serialize::Decodable for Price {
725728
}
726729

727730
#[cfg(feature = "lib-rustc-serialize")]
731+
#[allow(clippy::borrow_deref_ref)]
728732
impl ::rustc_serialize::Encodable for Price {
729733
fn encode<__S: ::rustc_serialize::Encoder>(
730734
&self,
@@ -793,6 +797,7 @@ impl ::rustc_serialize::Decodable for SeatCategory {
793797
}
794798

795799
#[cfg(feature = "lib-rustc-serialize")]
800+
#[allow(clippy::borrow_deref_ref)]
796801
impl ::rustc_serialize::Encodable for SeatCategory {
797802
fn encode<__S: ::rustc_serialize::Encoder>(
798803
&self,
@@ -852,6 +857,7 @@ impl ::rustc_serialize::Decodable for Area {
852857
}
853858

854859
#[cfg(feature = "lib-rustc-serialize")]
860+
#[allow(clippy::borrow_deref_ref)]
855861
impl ::rustc_serialize::Encodable for Area {
856862
fn encode<__S: ::rustc_serialize::Encoder>(
857863
&self,

src/copy/twitter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ impl ::rustc_serialize::Decodable for Media {
410410
}
411411

412412
#[cfg(feature = "lib-rustc-serialize")]
413+
#[allow(clippy::borrow_deref_ref)]
413414
impl ::rustc_serialize::Encodable for Media {
414415
fn encode<__S: ::rustc_serialize::Encoder>(
415416
&self,

0 commit comments

Comments
 (0)