Fix stale lint expectations.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -278,7 +278,6 @@ impl<E: Event> TestStore<E> {
|
||||
}
|
||||
|
||||
impl TestStore<PduEvent> {
|
||||
#[expect(clippy::type_complexity)]
|
||||
fn set_up(
|
||||
&mut self,
|
||||
) -> (StateMap<OwnedEventId>, StateMap<OwnedEventId>, StateMap<OwnedEventId>) {
|
||||
|
||||
@@ -726,7 +726,6 @@ fn JOIN_RULE() -> HashMap<OwnedEventId, PduEvent> {
|
||||
|
||||
macro_rules! state_set {
|
||||
($($kind:expr => $key:expr => $id:expr),* $(,)?) => {{
|
||||
#[expect(unused_mut)]
|
||||
let mut x = StateMap::new();
|
||||
$(
|
||||
x.insert(($kind, $key.into()), $id);
|
||||
|
||||
@@ -248,7 +248,6 @@ pub(super) async fn do_check(
|
||||
assert_eq!(expected_state, end_state);
|
||||
}
|
||||
|
||||
#[expect(clippy::exhaustive_structs)]
|
||||
pub(super) struct TestStore(pub(super) HashMap<OwnedEventId, PduEvent>);
|
||||
|
||||
impl TestStore {
|
||||
@@ -286,7 +285,6 @@ impl TestStore {
|
||||
}
|
||||
|
||||
// A StateStore implementation for testing
|
||||
#[expect(clippy::type_complexity)]
|
||||
impl TestStore {
|
||||
pub(super) fn set_up(
|
||||
&mut self,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![expect(clippy::disallowed_methods)]
|
||||
|
||||
use crate::utils;
|
||||
|
||||
#[test]
|
||||
@@ -109,7 +107,6 @@ async fn mutex_map_contend() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[expect(clippy::iter_on_single_items, clippy::many_single_char_names)]
|
||||
fn set_intersection_none() {
|
||||
use utils::set::intersection;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user