Commit 45eb69d
committed
Merge #499: Take self by value
b069239 Take self by value (Tobin C. Harding)
Pull request description:
Clippy emits:
warning: methods with the following characteristics: (`to_*` and `self`
type is `Copy`) usually take `self` by value
The method in question is private, change to take `self` by value. Requires no other changes.
(Should have been part of the trivial clippy fixes :)
ACKs for top commit:
apoelstra:
ACK b069239
Tree-SHA512: ff15ea9818323f799a917d3506454341d296d96c8be7e36606f7199e351c5843a17e43f1fd736bbef25e2916d5be15853643a61331cca5fc6962be7205c201fb1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments