Skip to content

Commit 9ac7618

Browse files
Summary: Pull Request resolved: pytorch-labs#247 ghstack-source-id: 289955358 exported-using-ghexport lints Reviewed By: mariusae Differential Revision: D76512729 fbshipit-source-id: d51e187ff53ddb78773332f2d47963c371698ecb
1 parent 18686e9 commit 9ac7618

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

hyperactor/src/channel/sim.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ impl SimAddr {
9191
}
9292

9393
/// 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`.
9495
pub fn new_with_src(
9596
src: AddressProxyPair,
9697
addr: ChannelAddr,
@@ -99,6 +100,7 @@ impl SimAddr {
99100
Self::new_impl(Some(Box::new(src)), addr, proxy)
100101
}
101102

103+
#[allow(clippy::result_large_err)] // TODO: Consider reducing the size of `SimNetError`.
102104
fn new_impl(
103105
src: Option<Box<AddressProxyPair>>,
104106
addr: ChannelAddr,

hyperactor/src/sync/monitor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ impl IntoFuture for Handle {
9292
async move {
9393
let (flag, state) = self.take().unwrap();
9494
flag.await;
95+
#[allow(clippy::let_and_return)]
9596
let status = state.lock().unwrap().status();
9697
status
9798
}

0 commit comments

Comments
 (0)