File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ impl SimAddr {
91
91
}
92
92
93
93
/// Creates a new directional SimAddr meant to convey a channel between two addresses.
94
+ #[ allow( clippy:: result_large_err) ] // TODO: Consider reducing the size of `SimNetError`.
94
95
pub fn new_with_src (
95
96
src : AddressProxyPair ,
96
97
addr : ChannelAddr ,
@@ -99,6 +100,7 @@ impl SimAddr {
99
100
Self :: new_impl ( Some ( Box :: new ( src) ) , addr, proxy)
100
101
}
101
102
103
+ #[ allow( clippy:: result_large_err) ] // TODO: Consider reducing the size of `SimNetError`.
102
104
fn new_impl (
103
105
src : Option < Box < AddressProxyPair > > ,
104
106
addr : ChannelAddr ,
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ impl IntoFuture for Handle {
92
92
async move {
93
93
let ( flag, state) = self . take ( ) . unwrap ( ) ;
94
94
flag. await ;
95
+ #[ allow( clippy:: let_and_return) ]
95
96
let status = state. lock ( ) . unwrap ( ) . status ( ) ;
96
97
status
97
98
}
You can’t perform that action at this time.
0 commit comments