From cf00d351ca1614de1b5c1c8647abf87246f333f6 Mon Sep 17 00:00:00 2001 From: Caleb Yates Date: Thu, 5 Dec 2024 22:42:03 +1000 Subject: [PATCH] doc: minor adjustments --- Cargo.toml | 2 +- src/lib.rs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1094b31..f503eb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["bevy"] exclude = ["assets/*"] [features] -## Enable to avoid panicing when multiple cameras are used in the same world +## Enable to avoid panicing when multiple cameras are used in the same world. ## Requires you to add `CosmicPrimaryCamera` marker component to the primary camera multicam = [] webgpu = ["bevy/webgpu"] diff --git a/src/lib.rs b/src/lib.rs index a7d8909..8a641b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,7 +11,7 @@ //! //!  *Warning: This plugin is currently in early development, and its API is subject to change.* //! -//! ```rust,ignore +//! ```rust,no_run #![doc = include_str!("../examples/basic_ui.rs")] //! ``` //! @@ -62,9 +62,6 @@ pub mod prelude { pub(crate) use crate::primary::NodeSizeExt as _; pub(crate) use crate::utils::*; - // public external re-exports - pub use cosmic_text::{Attrs, Family, Metrics}; - // public internal re-exports pub use crate::buffer::CosmicEditBuffer; // todo: migrate to builtin bevy CosmicBuffer pub use crate::cosmic_edit::CosmicFontSystem; // todo: migrate to using builtin bevy cosmic font system