diff --git a/server/src/cmd.rs b/server/src/cmd.rs index 370b5c4a28..93ceaba0f1 100644 --- a/server/src/cmd.rs +++ b/server/src/cmd.rs @@ -57,7 +57,6 @@ pub trait ChatCommandExt { fn execute(&self, server: &mut Server, entity: EcsEntity, args: Vec); } impl ChatCommandExt for ChatCommand { - #[allow(clippy::needless_return)] // TODO: Pending review in #587 fn execute(&self, server: &mut Server, entity: EcsEntity, args: Vec) { // TODO: Pass arguments to commands as Vec, not String, to support // proper parsing. @@ -1636,7 +1635,6 @@ fn handle_kit( } #[allow(clippy::float_cmp)] // TODO: Pending review in #587 -#[allow(clippy::needless_return)] // TODO: Pending review in #587 fn handle_object( server: &mut Server, client: EcsEntity, diff --git a/voxygen/src/ui/fonts.rs b/voxygen/src/ui/fonts.rs index bfe5a29884..1bd9ac45a1 100644 --- a/voxygen/src/ui/fonts.rs +++ b/voxygen/src/ui/fonts.rs @@ -7,7 +7,6 @@ pub struct Font { } impl Font { - #[allow(clippy::needless_return)] // TODO: Pending review in #587 fn new(font: &i18n::Font, ui: &mut crate::ui::Ui) -> Result { let raw_font = RawFont::load(&font.asset_key)?.cloned();