Missing doc for OwnedAnyUserData

This commit is contained in:
Alex Orlenko 2023-04-14 10:29:34 +01:00
parent c178bc0a55
commit be64706cff
No known key found for this signature in database
GPG Key ID: 4C150C250863B96D
1 changed files with 2 additions and 0 deletions

View File

@ -739,6 +739,7 @@ impl Serialize for UserDataSerializeError {
#[derive(Clone, Debug)]
pub struct AnyUserData<'lua>(pub(crate) LuaRef<'lua>);
/// Owned handle to an internal Lua userdata.
#[cfg(feature = "unstable")]
#[cfg_attr(docsrs, doc(cfg(feature = "unstable")))]
#[derive(Clone, Debug)]
@ -1031,6 +1032,7 @@ impl<'lua> AnyUserData<'lua> {
}
}
/// Convert this handle to owned version.
#[cfg(all(feature = "unstable", any(not(feature = "send"), doc)))]
#[cfg_attr(docsrs, doc(cfg(all(feature = "unstable", not(feature = "send")))))]
#[inline]