summaryrefslogtreecommitdiff
path: root/src/function.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2022-03-25 00:23:35 +0000
committerAlex Orlenko <zxteam@protonmail.com>2022-03-25 00:43:54 +0000
commitec1fa040853ac3be72e2a3e8330e121f23d457e3 (patch)
treec5767dc06a303b4af87f9d7f2aa9b5bdda372cf3 /src/function.rs
parent714dd6249fc64d2715ef8a1d7b24ced753683fef (diff)
downloadmlua-ec1fa040853ac3be72e2a3e8330e121f23d457e3.zip
Update docs
Diffstat (limited to 'src/function.rs')
-rw-r--r--src/function.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/function.rs b/src/function.rs
index 8c35ef1..60ee7ea 100644
--- a/src/function.rs
+++ b/src/function.rs
@@ -214,6 +214,7 @@ impl<'lua> Function<'lua> {
/// If `strip` is true, the binary representation may not include all debug information
/// about the function, to save space.
#[cfg(not(feature = "luau"))]
+ #[cfg_attr(docsrs, doc(cfg(not(feature = "luau"))))]
pub fn dump(&self, strip: bool) -> Vec<u8> {
use std::os::raw::c_void;
use std::slice;