summaryrefslogtreecommitdiffstats
path: root/ffi-macros/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-21 18:18:31 +0300
committerLars Wirzenius <liw@sequoia-pgp.org>2021-09-30 08:31:05 +0300
commit612ff65ffae21c1b6d3906d4df432e80554f4dd9 (patch)
treee342a9551def5a823885b625568edb3cae6518a2 /ffi-macros/src/lib.rs
parentbc7992d35667ed05dc59c5876372f785df97c63b (diff)
Drop unnecessary conversions with .into() to the same type
The code used to do foo.into(), but the result was of the same type as foo already was. Thus the extra call is redundant and likely to confuse a reader. Found by clippy lint useless_conversion: https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Diffstat (limited to 'ffi-macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions