diff --git a/components/drawing/src/text_typography/api12_additions.rs b/components/drawing/src/text_typography/api12_additions.rs index 4dbd763..8d3ec26 100644 --- a/components/drawing/src/text_typography/api12_additions.rs +++ b/components/drawing/src/text_typography/api12_additions.rs @@ -11,9 +11,7 @@ use crate::text_typography::{ OH_Drawing_FontStyle, OH_Drawing_FontWeight, OH_Drawing_TextAlign, OH_Drawing_TextBaseline, OH_Drawing_TextDecorationStyle, OH_Drawing_TextDirection, }; -use crate::types::{ - OH_Drawing_Brush, OH_Drawing_Pen, OH_Drawing_Point, OH_Drawing_RectStyle_Info, -}; +use crate::types::{OH_Drawing_Brush, OH_Drawing_Pen, OH_Drawing_Point, OH_Drawing_RectStyle_Info}; impl OH_Drawing_FontStyle { /// Oblique style diff --git a/src/lib.rs b/src/lib.rs index 7c58c49..57bd01c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,6 @@ cfg_attr(doc, doc = ::document_features::document_features!()) )] #[cfg_attr(docsrs, feature(doc_cfg))] - #[cfg(feature = "drawing")] #[cfg_attr(docsrs, doc(cfg(feature = "drawing")))] pub mod drawing {