Skip to content

Commit

Permalink
Update Rust / lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Nov 20, 2023
1 parent fe1539c commit e55caaa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .buildkite/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.71
FROM rust:1.74

RUN rustup component add rustfmt && \
rustup component add clippy
Expand Down
2 changes: 1 addition & 1 deletion core/src/worker/workflow/managed_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ impl ManagedRun {
} else {
None
};
self.update_to_acts(Ok(maybe_act).map(Into::into))
self.update_to_acts(Ok(maybe_act.into()))
}
/// Returns `true` if autocompletion should be issued, which will actually cause us to end up
/// in [completion] again, at which point we'll start a new heartbeat timeout, which will
Expand Down
6 changes: 5 additions & 1 deletion sdk-core-protos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ pub static ENCODING_PAYLOAD_KEY: &str = "encoding";
pub static JSON_ENCODING_VAL: &str = "json/plain";
pub static PATCHED_MARKER_DETAILS_KEY: &str = "patch-data";

#[allow(clippy::large_enum_variant, clippy::derive_partial_eq_without_eq)]
#[allow(
clippy::large_enum_variant,
clippy::derive_partial_eq_without_eq,
clippy::reserve_after_initialization
)]
// I'd prefer not to do this, but there are some generated things that just don't need it.
#[allow(missing_docs)]
pub mod coresdk {
Expand Down

0 comments on commit e55caaa

Please sign in to comment.