diff --git a/all-is-cubes-base/src/math/coord.rs b/all-is-cubes-base/src/math/coord.rs index 5bda3a926..6c235f892 100644 --- a/all-is-cubes-base/src/math/coord.rs +++ b/all-is-cubes-base/src/math/coord.rs @@ -1,10 +1,5 @@ //! Numeric types used for coordinates and related quantities. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use euclid::{Box3D, Point3D, Size2D, Size3D, Vector3D}; use crate::math::Cube; diff --git a/all-is-cubes-base/src/math/face.rs b/all-is-cubes-base/src/math/face.rs index 4d2edefe3..48927ace8 100644 --- a/all-is-cubes-base/src/math/face.rs +++ b/all-is-cubes-base/src/math/face.rs @@ -1,11 +1,6 @@ //! Axis-aligned unit vectors: the [`Face6`] and [`Face7`] types. //! This module is private but reexported by its parent. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::fmt; use core::ops; diff --git a/all-is-cubes-base/src/math/matrix.rs b/all-is-cubes-base/src/math/matrix.rs index c73f47ae4..b49abef1d 100644 --- a/all-is-cubes-base/src/math/matrix.rs +++ b/all-is-cubes-base/src/math/matrix.rs @@ -1,11 +1,6 @@ //! Integer-coordinate matrices. //! This module is private but reexported by its parent. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::cmp::Ordering; use core::ops; diff --git a/all-is-cubes-base/src/math/octant.rs b/all-is-cubes-base/src/math/octant.rs index d7d9c3cad..a59ea961d 100644 --- a/all-is-cubes-base/src/math/octant.rs +++ b/all-is-cubes-base/src/math/octant.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::{fmt, ops}; use euclid::{vec3, Vector3D}; diff --git a/all-is-cubes-base/src/math/rotation.rs b/all-is-cubes-base/src/math/rotation.rs index 463da7ffd..2392e83df 100644 --- a/all-is-cubes-base/src/math/rotation.rs +++ b/all-is-cubes-base/src/math/rotation.rs @@ -5,11 +5,6 @@ clippy::large_stack_arrays, reason = "effectively-false positive on Arbitrary derive" )] -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::marker::PhantomData; use core::ops::Mul; diff --git a/all-is-cubes-base/src/math/vol.rs b/all-is-cubes-base/src/math/vol.rs index 340c45e38..7c0dc3079 100644 --- a/all-is-cubes-base/src/math/vol.rs +++ b/all-is-cubes-base/src/math/vol.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::sync::Arc; use core::fmt; diff --git a/all-is-cubes-base/src/raycast/axis_aligned.rs b/all-is-cubes-base/src/raycast/axis_aligned.rs index c3555095b..7b4d14f83 100644 --- a/all-is-cubes-base/src/raycast/axis_aligned.rs +++ b/all-is-cubes-base/src/raycast/axis_aligned.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use crate::math::{self, Cube, Face7, FreeCoordinate, GridAab}; use super::{AaRay, RaycastStep}; diff --git a/all-is-cubes-content/src/blocks.rs b/all-is-cubes-content/src/blocks.rs index 114ce10a2..26609f3d6 100644 --- a/all-is-cubes-content/src/blocks.rs +++ b/all-is-cubes-content/src/blocks.rs @@ -1,11 +1,6 @@ //! Block definitions that are specific to the demo/initial content and not fundamental //! or UI. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::sync::Arc; use core::fmt; use core::num::NonZeroU16; diff --git a/all-is-cubes-content/src/dungeon/maze.rs b/all-is-cubes-content/src/dungeon/maze.rs index 52d49aec2..95041d07c 100644 --- a/all-is-cubes-content/src/dungeon/maze.rs +++ b/all-is-cubes-content/src/dungeon/maze.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::collections::VecDeque; diff --git a/all-is-cubes-content/src/landscape.rs b/all-is-cubes-content/src/landscape.rs index 72f3554e1..3947ade9e 100644 --- a/all-is-cubes-content/src/landscape.rs +++ b/all-is-cubes-content/src/landscape.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use core::array; use core::fmt; diff --git a/all-is-cubes-content/src/template.rs b/all-is-cubes-content/src/template.rs index ac63ba4f8..2aad370be 100644 --- a/all-is-cubes-content/src/template.rs +++ b/all-is-cubes-content/src/template.rs @@ -1,10 +1,5 @@ //! First-run game content. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::string::{String, ToString as _}; use alloc::sync::Arc; diff --git a/all-is-cubes-content/src/tree.rs b/all-is-cubes-content/src/tree.rs index 5d03cee08..fca286d3e 100644 --- a/all-is-cubes-content/src/tree.rs +++ b/all-is-cubes-content/src/tree.rs @@ -22,7 +22,6 @@ use crate::LandscapeBlocks::{self, Leaves, Log}; unnameable_types, reason = "TODO: this should be public with an opaque struct wrapper" )] -#[expect(clippy::module_name_repetitions)] // TODO: rename to Growth? pub enum TreeGrowth { Sapling = 1, // radius = 1 G2, // radius = 2 diff --git a/all-is-cubes-desktop/src/glue/winit.rs b/all-is-cubes-desktop/src/glue/winit.rs index a4481db3a..c533795c0 100644 --- a/all-is-cubes-desktop/src/glue/winit.rs +++ b/all-is-cubes-desktop/src/glue/winit.rs @@ -146,7 +146,6 @@ pub fn map_key(key: winit::keyboard::PhysicalKey) -> Option winit::window::CursorIcon { use all_is_cubes_ui::apps::CursorIcon as A; use winit::window::CursorIcon as W; diff --git a/all-is-cubes-desktop/src/record/options.rs b/all-is-cubes-desktop/src/record/options.rs index 38a4f586a..e993b6648 100644 --- a/all-is-cubes-desktop/src/record/options.rs +++ b/all-is-cubes-desktop/src/record/options.rs @@ -1,10 +1,5 @@ //! Options controlling recording. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use std::ops::RangeInclusive; use std::path::PathBuf; use std::time::Duration; diff --git a/all-is-cubes-desktop/src/session.rs b/all-is-cubes-desktop/src/session.rs index f59527dd8..f8eb72511 100644 --- a/all-is-cubes-desktop/src/session.rs +++ b/all-is-cubes-desktop/src/session.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use std::path::PathBuf; use std::sync::Arc; use std::time::{Duration, Instant}; diff --git a/all-is-cubes-desktop/src/terminal/options.rs b/all-is-cubes-desktop/src/terminal/options.rs index 8e5f00076..58b04d9b0 100644 --- a/all-is-cubes-desktop/src/terminal/options.rs +++ b/all-is-cubes-desktop/src/terminal/options.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use std::ops; use ratatui::crossterm::style::Color; diff --git a/all-is-cubes-gpu/src/common/info.rs b/all-is-cubes-gpu/src/common/info.rs index 35f6d8e98..354b8e76e 100644 --- a/all-is-cubes-gpu/src/common/info.rs +++ b/all-is-cubes-gpu/src/common/info.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use std::time::Duration; use std::{fmt, ops}; diff --git a/all-is-cubes-mesh/src/dynamic/chunk.rs b/all-is-cubes-mesh/src/dynamic/chunk.rs index 6b22531b5..96cfd1ff9 100644 --- a/all-is-cubes-mesh/src/dynamic/chunk.rs +++ b/all-is-cubes-mesh/src/dynamic/chunk.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use all_is_cubes::euclid::Translation3D; use alloc::sync::Arc; use alloc::vec::Vec; diff --git a/all-is-cubes-mesh/src/dynamic/instance.rs b/all-is-cubes-mesh/src/dynamic/instance.rs index 34233b545..e9004beaf 100644 --- a/all-is-cubes-mesh/src/dynamic/instance.rs +++ b/all-is-cubes-mesh/src/dynamic/instance.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::vec::Vec; use core::fmt; diff --git a/all-is-cubes-mesh/src/dynamic/render_data.rs b/all-is-cubes-mesh/src/dynamic/render_data.rs index d1b99ff80..176809021 100644 --- a/all-is-cubes-mesh/src/dynamic/render_data.rs +++ b/all-is-cubes-mesh/src/dynamic/render_data.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::fmt; use all_is_cubes::euclid::Vector3D; diff --git a/all-is-cubes-port/src/export.rs b/all-is-cubes-port/src/export.rs index c8d05689e..09840be2d 100644 --- a/all-is-cubes-port/src/export.rs +++ b/all-is-cubes-port/src/export.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - #[allow(unused_imports)] use std::path::{Path, PathBuf}; #[allow(unused_imports)] diff --git a/all-is-cubes-port/src/import.rs b/all-is-cubes-port/src/import.rs index 9a991db98..504179bf5 100644 --- a/all-is-cubes-port/src/import.rs +++ b/all-is-cubes-port/src/import.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use std::io; use std::sync::Arc; diff --git a/all-is-cubes-render/src/headless.rs b/all-is-cubes-render/src/headless.rs index 00febe505..e50b38196 100644 --- a/all-is-cubes-render/src/headless.rs +++ b/all-is-cubes-render/src/headless.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::vec::Vec; use embedded_graphics::mono_font::iso_8859_1::FONT_7X13_BOLD; diff --git a/all-is-cubes-render/src/raytracer/renderer.rs b/all-is-cubes-render/src/raytracer/renderer.rs index 33340018b..9d249662b 100644 --- a/all-is-cubes-render/src/raytracer/renderer.rs +++ b/all-is-cubes-render/src/raytracer/renderer.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::string::String; use alloc::sync::Arc; diff --git a/all-is-cubes-ui/src/apps/input.rs b/all-is-cubes-ui/src/apps/input.rs index c4207b0fd..07e0136cf 100644 --- a/all-is-cubes-ui/src/apps/input.rs +++ b/all-is-cubes-ui/src/apps/input.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::vec::Vec; use core::time::Duration; use std::collections::{HashMap, HashSet}; diff --git a/all-is-cubes-ui/src/apps/session.rs b/all-is-cubes-ui/src/apps/session.rs index fa4a42ef5..ae21aab79 100644 --- a/all-is-cubes-ui/src/apps/session.rs +++ b/all-is-cubes-ui/src/apps/session.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::string::ToString as _; use alloc::sync::{Arc, Weak}; diff --git a/all-is-cubes-ui/src/vui/blocks.rs b/all-is-cubes-ui/src/vui/blocks.rs index 9eb7634b6..bbda24d4d 100644 --- a/all-is-cubes-ui/src/vui/blocks.rs +++ b/all-is-cubes-ui/src/vui/blocks.rs @@ -1,6 +1,6 @@ #![expect( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "module is private; TODO: file new bug" )] use core::fmt; diff --git a/all-is-cubes-ui/src/vui/layout.rs b/all-is-cubes-ui/src/vui/layout.rs index e84f1c220..a9416eb08 100644 --- a/all-is-cubes-ui/src/vui/layout.rs +++ b/all-is-cubes-ui/src/vui/layout.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::rc::Rc; use alloc::sync::Arc; diff --git a/all-is-cubes-ui/src/vui/widgets/button.rs b/all-is-cubes-ui/src/vui/widgets/button.rs index a819119bf..24c9fb1bb 100644 --- a/all-is-cubes-ui/src/vui/widgets/button.rs +++ b/all-is-cubes-ui/src/vui/widgets/button.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::borrow::ToOwned as _; use alloc::boxed::Box; use alloc::format; diff --git a/all-is-cubes-ui/src/vui/widgets/progress_bar.rs b/all-is-cubes-ui/src/vui/widgets/progress_bar.rs index 1f230c427..52975aad2 100644 --- a/all-is-cubes-ui/src/vui/widgets/progress_bar.rs +++ b/all-is-cubes-ui/src/vui/widgets/progress_bar.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::sync::Arc; diff --git a/all-is-cubes-ui/src/vui/widgets/text.rs b/all-is-cubes-ui/src/vui/widgets/text.rs index c524979f4..15706ed10 100644 --- a/all-is-cubes-ui/src/vui/widgets/text.rs +++ b/all-is-cubes-ui/src/vui/widgets/text.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::sync::Arc; diff --git a/all-is-cubes-ui/src/vui/widgets/theme.rs b/all-is-cubes-ui/src/vui/widgets/theme.rs index 6380b6dfb..a4ad003c6 100644 --- a/all-is-cubes-ui/src/vui/widgets/theme.rs +++ b/all-is-cubes-ui/src/vui/widgets/theme.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::format; use alloc::sync::Arc; use core::fmt; diff --git a/all-is-cubes/src/block/attributes.rs b/all-is-cubes/src/block/attributes.rs index f1384927e..cc991fce1 100644 --- a/all-is-cubes/src/block/attributes.rs +++ b/all-is-cubes/src/block/attributes.rs @@ -1,10 +1,5 @@ //! [`BlockAttributes`] and closely related types. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::{fmt, ops}; use arcstr::ArcStr; diff --git a/all-is-cubes/src/block/block_def.rs b/all-is-cubes/src/block/block_def.rs index 15ffd2eb8..0a2c6bef4 100644 --- a/all-is-cubes/src/block/block_def.rs +++ b/all-is-cubes/src/block/block_def.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::sync::Arc; use core::{fmt, mem, ops}; diff --git a/all-is-cubes/src/block/eval/evaluated.rs b/all-is-cubes/src/block/eval/evaluated.rs index 5af6d729c..fa84d04a1 100644 --- a/all-is-cubes/src/block/eval/evaluated.rs +++ b/all-is-cubes/src/block/eval/evaluated.rs @@ -1,10 +1,5 @@ //! [`EvaluatedBlock`] and [`Evoxel`]. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use core::{fmt, ptr}; diff --git a/all-is-cubes/src/block/eval/mod.rs b/all-is-cubes/src/block/eval/mod.rs index 37740b8b1..44ad9d96e 100644 --- a/all-is-cubes/src/block/eval/mod.rs +++ b/all-is-cubes/src/block/eval/mod.rs @@ -5,11 +5,6 @@ //! it does not contain the elements that are evaluated //! ([`crate::block::Primitive`] and [`crate::block::Modifier`]) -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - mod control; #[cfg(test)] pub(crate) use control::ErrorKind; diff --git a/all-is-cubes/src/block/modifier/composite.rs b/all-is-cubes/src/block/modifier/composite.rs index 01c1960ce..29c7517d3 100644 --- a/all-is-cubes/src/block/modifier/composite.rs +++ b/all-is-cubes/src/block/modifier/composite.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::vec; use core::mem; diff --git a/all-is-cubes/src/character/cursor.rs b/all-is-cubes/src/character/cursor.rs index 9c734a287..84240dcc9 100644 --- a/all-is-cubes/src/character/cursor.rs +++ b/all-is-cubes/src/character/cursor.rs @@ -2,11 +2,6 @@ //! //! TODO: It's unclear what the scope of this module should be. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::fmt; use euclid::point3; diff --git a/all-is-cubes/src/inv/inventory.rs b/all-is-cubes/src/inv/inventory.rs index e5fed5fac..07bc0613c 100644 --- a/all-is-cubes/src/inv/inventory.rs +++ b/all-is-cubes/src/inv/inventory.rs @@ -1,10 +1,5 @@ //! [`Inventory`] for storing items. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::borrow::Cow; use alloc::boxed::Box; use alloc::collections::BTreeMap; diff --git a/all-is-cubes/src/inv/tool.rs b/all-is-cubes/src/inv/tool.rs index 5557831df..01075641f 100644 --- a/all-is-cubes/src/inv/tool.rs +++ b/all-is-cubes/src/inv/tool.rs @@ -1,10 +1,5 @@ //! [`Tool`] and related. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::borrow::Cow; use alloc::string::{String, ToString}; use alloc::sync::Arc; diff --git a/all-is-cubes/src/listen/cell.rs b/all-is-cubes/src/listen/cell.rs index 8d0279b2b..f45984336 100644 --- a/all-is-cubes/src/listen/cell.rs +++ b/all-is-cubes/src/listen/cell.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use core::fmt; use alloc::sync::Arc; diff --git a/all-is-cubes/src/physics/body.rs b/all-is-cubes/src/physics/body.rs index 26e3c6def..4340c5e99 100644 --- a/all-is-cubes/src/physics/body.rs +++ b/all-is-cubes/src/physics/body.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - #[cfg(feature = "rerun")] use alloc::vec::Vec; use core::fmt; diff --git a/all-is-cubes/src/raytracer.rs b/all-is-cubes/src/raytracer.rs index addeecd5f..ae442da97 100644 --- a/all-is-cubes/src/raytracer.rs +++ b/all-is-cubes/src/raytracer.rs @@ -1,10 +1,7 @@ //! Note: This module is hidden, and its contents re-exported as `all_is_cubes_render::raytracer`. //! It is located in this crate so that it can be used by unit tests. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] +#![expect(clippy::module_name_repetitions, reason = "TODO: clean up")] use alloc::boxed::Box; use alloc::string::String; diff --git a/all-is-cubes/src/raytracer/updating.rs b/all-is-cubes/src/raytracer/updating.rs index cb4e854e3..945cfcf13 100644 --- a/all-is-cubes/src/raytracer/updating.rs +++ b/all-is-cubes/src/raytracer/updating.rs @@ -1,11 +1,6 @@ // TODO: ideally this would live in `all-is-cubes-render`, // but it depends on `maybe_sync` and the internals of `SpaceRaytracer`. -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::sync::{Arc, Weak}; use core::fmt; use core::mem; diff --git a/all-is-cubes/src/save/whence.rs b/all-is-cubes/src/save/whence.rs index 1002fbbd6..797447616 100644 --- a/all-is-cubes/src/save/whence.rs +++ b/all-is-cubes/src/save/whence.rs @@ -16,10 +16,6 @@ use crate::util::YieldProgress; /// /// This trait is object-safe so that it can be stored in a [`Universe`] as `dyn WhenceUniverse`. /// Therefore, all its `async` methods use boxed futures. -#[expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] pub trait WhenceUniverse: fmt::Debug + Send + Sync + Any + 'static { /// Returns a string suitable for use as a window title or other user interface element /// identifying this universe-document. diff --git a/all-is-cubes/src/space/light/mod.rs b/all-is-cubes/src/space/light/mod.rs index 70b984624..febc4e63e 100644 --- a/all-is-cubes/src/space/light/mod.rs +++ b/all-is-cubes/src/space/light/mod.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - mod data; pub use data::PackedLight; pub(crate) use data::{LightStatus, PackedLightScalar}; diff --git a/all-is-cubes/src/space/palette.rs b/all-is-cubes/src/space/palette.rs index 430ee0c4e..a9bd29095 100644 --- a/all-is-cubes/src/space/palette.rs +++ b/all-is-cubes/src/space/palette.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::sync::{Arc, Weak}; use alloc::vec::Vec; use core::cell::Cell; diff --git a/all-is-cubes/src/transaction/tester.rs b/all-is-cubes/src/transaction/tester.rs index a32ac11c0..4b2565af0 100644 --- a/all-is-cubes/src/transaction/tester.rs +++ b/all-is-cubes/src/transaction/tester.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::boxed::Box; use alloc::rc::Rc; use alloc::vec::Vec; diff --git a/all-is-cubes/src/universe/handle.rs b/all-is-cubes/src/universe/handle.rs index f0ab90c02..b566b402e 100644 --- a/all-is-cubes/src/universe/handle.rs +++ b/all-is-cubes/src/universe/handle.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - use alloc::sync::{Arc, Weak}; use core::fmt; use core::hash; diff --git a/all-is-cubes/src/universe/visit.rs b/all-is-cubes/src/universe/visit.rs index d88850fa1..e4d5dc479 100644 --- a/all-is-cubes/src/universe/visit.rs +++ b/all-is-cubes/src/universe/visit.rs @@ -1,8 +1,3 @@ -#![expect( - clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" -)] - #[cfg(test)] use alloc::vec::Vec;