Skip to content

Commit c5aadc6

Browse files
committed
Open UserDataMethods::add_method_once and UserDataMethods::add_async_method_once
1 parent a5ae2a1 commit c5aadc6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/userdata.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ pub trait UserDataMethods<T> {
340340
///
341341
/// The method can be called only once per userdata instance, subsequent calls will result in a
342342
/// [`Error::UserDataDestructed`] error.
343-
#[doc(hidden)]
344343
fn add_method_once<M, A, R>(&mut self, name: impl Into<String>, method: M)
345344
where
346345
T: 'static,
@@ -395,7 +394,6 @@ pub trait UserDataMethods<T> {
395394
/// [`Error::UserDataDestructed`] error.
396395
#[cfg(feature = "async")]
397396
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
398-
#[doc(hidden)]
399397
fn add_async_method_once<M, A, MR, R>(&mut self, name: impl Into<String>, method: M)
400398
where
401399
T: 'static,

0 commit comments

Comments
 (0)