From 1c7a6b57a5fcc4d87cb82e0535dc49d14babb76b Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 18 Jan 2024 15:18:10 +0100 Subject: [PATCH] Fix clippy warnings --- src/config/mod.rs | 1 - src/writer/mod.rs | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index a60ab18b0..77f9dd8c2 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -22,7 +22,6 @@ pub mod work_mode; pub use self::{ child_properties::{ChildProperties, ChildProperty}, config::Config, - external_libraries::ExternalLibrary, gobjects::GObject, property_generate_flags::PropertyGenerateFlags, string_type::StringType, diff --git a/src/writer/mod.rs b/src/writer/mod.rs index 10ad567ef..09a4ee796 100644 --- a/src/writer/mod.rs +++ b/src/writer/mod.rs @@ -3,10 +3,7 @@ pub mod primitives; pub mod to_code; // TODO:remove pub pub mod untabber; -pub use self::{ - defines::{MAX_TEXT_WIDTH, TAB, TAB_SIZE}, - to_code::ToCode, -}; +pub use self::{defines::TAB, to_code::ToCode}; use crate::analysis::safety_assertion_mode::SafetyAssertionMode; pub fn safety_assertion_mode_to_str(s: SafetyAssertionMode) -> &'static str {