Skip to content

Commit

Permalink
Delint for new clippy lints. (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi authored Nov 29, 2024
1 parent 9482a94 commit 8185245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data_generation/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub(super) enum RequestKind<'a> {
LocalProject(ProjectRequest<'a>),
}

impl<'a> RequestKind<'a> {
impl RequestKind<'_> {
pub(super) fn name(&self) -> anyhow::Result<&str> {
Ok(match self {
Self::Registry(RegistryRequest { index_entry }) => &index_entry.name,
Expand Down

0 comments on commit 8185245

Please sign in to comment.