fix some more doctest errors

This commit is contained in:
i do not exist 2026-04-24 01:44:03 +03:00
parent e074712459
commit 42a1807c2b
2 changed files with 28 additions and 12 deletions

View file

@ -59,7 +59,7 @@ macro_rules! eval_enum ((
/// Interpret layout operation.
///
/// ```
/// # use tengri::{*, space::*};
/// # use tengri::{lang::*, draw::*, eval::*};
/// struct Target { xywh: XYWH<u16> /*platform-specific*/}
/// impl tengri::Out for Target {
/// type Unit = u16;
@ -162,7 +162,7 @@ pub fn eval_view <'a, O: Screen + 'a, S> (
/// Interpret TUI-specific layout operation.
///
/// ```
/// use tengri::{lang::{Namespace, Interpret}, term::Tui, ratatui::prelude::Color};
/// use tengri::{lang::*, term::*, eval::*, ratatui::prelude::Color};
///
/// struct State;
/// impl<'b> Namespace<'b, bool> for State {}