Skip to content

Commit

Permalink
[internal] add comment re clippy issue (#14188)
Browse files Browse the repository at this point in the history
Add a comment regarding a clippy work-around that we had to introduce when upgrading to Rust v1.58.0.

[ci skip-build-wheels]
  • Loading branch information
Tom Dyas authored Jan 18, 2022
1 parent 9802709 commit 3712aba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rust/engine/async_value/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ impl<T: Clone + Send + Sync + 'static> AsyncValueReceiver<T> {
return Some(value.clone());
}

// TODO: Remove the `allow` once https://github.com/rust-lang/rust-clippy/issues/8281
// is fixed upstream.
#[allow(clippy::question_mark)]
if item_receiver.changed().await.is_err() {
return None;
Expand Down

0 comments on commit 3712aba

Please sign in to comment.