Skip to content

Update webhook module for new clippy issues. #731

@kumarUjjawal

Description

@kumarUjjawal

Description
Rust 1.91.0 landed, Clippy introduced new lints (e.g. clippy::derivable_impls), so the pipeline started
failing for

#[derive(Debug, Clone, PartialEq, Eq)]
enum HeadersUpdate {
NotSet,
Reset,
Set(BTreeMap<String, Option<String>>),
}
impl Default for HeadersUpdate {
fn default() -> Self {
Self::NotSet
}
}
even though cargo clippy passed locally on Rust 1.89.0.

Expected behavior
Test-clippy should pass.

Current behavior
CI Fails

Screenshots or Logs

Image

Environment (please complete the following information):

  • OS: GitHub Actions ubuntu-latest
  • Meilisearch version: N/A (not reached)
  • meilisearch-rust version: v0.30.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions