Skip to content

Commit 5bf131e

Browse files
committed
Add missing "doc" cfg to Thread::resume_error
1 parent effc89f commit 5bf131e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ impl Thread {
314314
/// Resumes execution of this thread, immediately raising an error.
315315
///
316316
/// This is a Luau specific extension.
317-
#[cfg(feature = "luau")]
317+
#[cfg(any(feature = "luau", doc))]
318318
#[cfg_attr(docsrs, doc(cfg(feature = "luau")))]
319319
pub fn resume_error<R>(&self, error: impl crate::IntoLua) -> Result<R>
320320
where

0 commit comments

Comments
 (0)