summaryrefslogtreecommitdiff
path: root/src/function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/function.rs')
-rw-r--r--src/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/function.rs b/src/function.rs
index 0dac0e1..37ebc01 100644
--- a/src/function.rs
+++ b/src/function.rs
@@ -462,7 +462,7 @@ impl<'lua> Function<'lua> {
/// Requires `feature = "luau"`
///
/// [`Compiler::set_coverage_level`]: crate::chunk::Compiler::set_coverage_level
- #[cfg(any(feature = "luau", docsrs))]
+ #[cfg(any(feature = "luau", doc))]
#[cfg_attr(docsrs, doc(cfg(feature = "luau")))]
pub fn coverage<F>(&self, mut func: F)
where