From 83291b17c885c53e9c33177f281d76314f028ccb Mon Sep 17 00:00:00 2001 From: aiongg Date: Thu, 19 Nov 2026 09:05:25 +0000 Subject: [PATCH] ui-contract: replay trials allow expect, as test code --- crates/ui-contract/src/testing/replay_trials.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-contract/src/testing/replay_trials.rs b/crates/ui-contract/src/testing/replay_trials.rs index a7dc502a1..83eb6fa47 100644 --- a/crates/ui-contract/src/testing/replay_trials.rs +++ b/crates/ui-contract/src/testing/replay_trials.rs @@ -1,5 +1,7 @@ //! Trials of the replay records: their notes and their comparison. +#![allow(clippy::expect_used, reason = "trial code: clippy.toml allows expect in tests, and trials are compiled into the library")] + use crate::primitives::sensing::{self, MemberSpec}; use crate::runtime::egui::{fixture, repaint}; use crate::runtime::env::ArenaId;