Description: avoid tests failing with optimized build Author: Jonas Smedegaard Bug-Debian: https://bugs.debian.org/1120257 Forwarded: not-needed Last-Update: 2025-12-08 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -246,7 +246,7 @@ /// /// # Examples /// - /// ```rust + /// ```rust,no_run /// use helix_term::{ui::Text, compositor::Component}; /// let boxed: Box = Box::new(Text::new("text".to_string())); /// let text: Box = boxed.as_boxed_any().downcast().unwrap(); --- a/helix-term/src/keymap/macros.rs +++ b/helix-term/src/keymap/macros.rs @@ -64,7 +64,7 @@ /// Macro for defining a `KeyTrie`. Example: /// -/// ``` +/// ```no_run /// # use helix_core::hashmap; /// # use helix_term::keymap; /// let normal_mode = keymap!({ "Normal mode"