mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-07-17 15:56:57 +02:00
fix some more doctest errors
This commit is contained in:
parent
e074712459
commit
42a1807c2b
2 changed files with 28 additions and 12 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue