Skip to content

Commit

Permalink
Remove unneeded clippy annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
bgw committed Sep 4, 2024
1 parent ce927a9 commit f156a34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions turbopack/crates/turbo-tasks/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,10 @@ pub trait TurboTasksBackendApi<B: Backend + 'static>: TurboTasksCallApi + Sync +

/// An untyped object-safe version of [`TurboTasksBackendApiExt::read_task_state`]. Callers
/// should prefer the extension trait's version of this method.
#[allow(clippy::type_complexity)] // Moving this to a typedef would make the docs confusing
fn read_task_state_dyn(&self, func: &mut dyn FnMut(&B::TaskState));

/// An untyped object-safe version of [`TurboTasksBackendApiExt::write_task_state`]. Callers
/// should prefer the extension trait's version of this method.
#[allow(clippy::type_complexity)]
fn write_task_state_dyn(&self, func: &mut dyn FnMut(&mut B::TaskState));

/// Returns a reference to the backend.
Expand Down

0 comments on commit f156a34

Please sign in to comment.