Remove incorrect docs

This commit is contained in:
dbr 2022-01-12 14:47:43 +11:00
parent 2a23779532
commit b09b50e72c

View File

@ -291,41 +291,29 @@ pub enum ItemFlag {
} }
create_token!( create_token!(
/// Tracks a window that can be ended by calling `.end()`
/// or by dropping.
pub struct ItemWidthStackToken<'ui>; pub struct ItemWidthStackToken<'ui>;
/// Ends a window
#[doc(alias = "PopItemWidth")] #[doc(alias = "PopItemWidth")]
drop { sys::igPopItemWidth() } drop { sys::igPopItemWidth() }
); );
create_token!( create_token!(
/// Tracks a window that can be ended by calling `.end()`
/// or by dropping.
pub struct TextWrapPosStackToken<'ui>; pub struct TextWrapPosStackToken<'ui>;
/// Ends a window
#[doc(alias = "PopTextWrapPos")] #[doc(alias = "PopTextWrapPos")]
drop { sys::igPopTextWrapPos() } drop { sys::igPopTextWrapPos() }
); );
create_token!( create_token!(
/// Tracks a window that can be ended by calling `.end()`
/// or by dropping.
pub struct PushAllowKeyboardFocusToken<'ui>; pub struct PushAllowKeyboardFocusToken<'ui>;
/// Ends a window
#[doc(alias = "PopAllowKeyboardFocus")] #[doc(alias = "PopAllowKeyboardFocus")]
drop { sys::igPopAllowKeyboardFocus() } drop { sys::igPopAllowKeyboardFocus() }
); );
create_token!( create_token!(
/// Tracks a window that can be ended by calling `.end()`
/// or by dropping.
pub struct PushButtonRepeatToken<'ui>; pub struct PushButtonRepeatToken<'ui>;
/// Ends a window
#[doc(alias = "PopButtonRepeat")] #[doc(alias = "PopButtonRepeat")]
drop { sys::igPopButtonRepeat() } drop { sys::igPopButtonRepeat() }
); );