Skip to content

Commit

Permalink
Merge pull request #25 from datachainlab/fix-rust-1-83-lint-error
Browse files Browse the repository at this point in the history
Fix lint error since rust 1.83

Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele authored Dec 24, 2024
2 parents 86510d8 + a9e03c9 commit 021ca43
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.82.0
- uses: Swatinem/rust-cache@v2
- run: cargo test
- run: cargo build
Expand Down
2 changes: 1 addition & 1 deletion crates/consensus/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl<'de> serde::Deserialize<'de> for U64 {
{
struct MyVisitor;

impl<'de> serde::de::Visitor<'de> for MyVisitor {
impl serde::de::Visitor<'_> for MyVisitor {
type Value = U64;

fn expecting(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
Expand Down
1 change: 0 additions & 1 deletion crates/light-client-cli/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ impl<
}

/// Store accessors
pub fn get_bootstrap(
&self,
) -> Result<
Expand Down

0 comments on commit 021ca43

Please sign in to comment.