diff --git a/src/draw/layout.rs b/src/draw/layout.rs index ecc1316..fba4d9b 100644 --- a/src/draw/layout.rs +++ b/src/draw/layout.rs @@ -247,7 +247,7 @@ impl_draw!(, X: Into>,>|self: Push, X: Into>> { __(PhantomData), diff --git a/src/eval.rs b/src/eval.rs index 950b40c..5359216 100644 --- a/src/eval.rs +++ b/src/eval.rs @@ -190,18 +190,10 @@ pub fn eval_view <'a, O: Screen + 'a, S> ( /// use tengri::{*, lang::*, ratatui::prelude::Color}; /// /// #[namespace(bool)] -/// #[namespace(u8 try_to_u8)] -/// #[namespace(u16 try_to_u16)] +/// #[namespace(u8)] +/// #[namespace(u16)] /// #[namespace(Color try_to_color)] -/// #[interpret(Tui -> Option>: try_eval_tui)] /// struct State; -/// tengri::lang::primitive!(u8: try_to_u8); -/// tengri::lang::primitive!(u16: try_to_u16); -/// tengri::lang::interpret!(|self: State, context: Tui, lang|->Option>{ -/// expression = { -/// "text" (...rest) => { todo!() } -/// } -/// }); /// impl Interpret>> for State { /// fn interpret_expr <'a> (&'a self, _: &mut Tui, lang: &'a impl Expression) /// -> Usually>> diff --git a/src/sing.rs b/src/sing.rs index 6149532..d7d4469 100644 --- a/src/sing.rs +++ b/src/sing.rs @@ -803,7 +803,7 @@ pub trait AddMidiOut { /// Port connection manager. /// /// ``` -/// let connect = tek::Connect::default(); +/// let connect = tengri::Connect::default(); /// ``` #[derive(Clone, Debug, Default)] pub struct Connect {