There was an error while loading. Please reload this page.
Thread::resume_error
1 parent effc89f commit 5bf131eCopy full SHA for 5bf131e
1 file changed
src/thread.rs
@@ -314,7 +314,7 @@ impl Thread {
314
/// Resumes execution of this thread, immediately raising an error.
315
///
316
/// This is a Luau specific extension.
317
- #[cfg(feature = "luau")]
+ #[cfg(any(feature = "luau", doc))]
318
#[cfg_attr(docsrs, doc(cfg(feature = "luau")))]
319
pub fn resume_error<R>(&self, error: impl crate::IntoLua) -> Result<R>
320
where
0 commit comments