diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2022-03-25 00:23:35 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2022-03-25 00:43:54 +0000 |
commit | ec1fa040853ac3be72e2a3e8330e121f23d457e3 (patch) | |
tree | c5767dc06a303b4af87f9d7f2aa9b5bdda372cf3 /src/error.rs | |
parent | 714dd6249fc64d2715ef8a1d7b24ced753683fef (diff) | |
download | mlua-ec1fa040853ac3be72e2a3e8330e121f23d457e3.zip |
Update docs
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index 760c49b..e50a2b2 100644 --- a/src/error.rs +++ b/src/error.rs @@ -37,7 +37,8 @@ pub enum Error { /// Lua garbage collector error, aka `LUA_ERRGCMM`. /// /// The Lua VM returns this error when there is an error running a `__gc` metamethod. - #[cfg(any(feature = "lua53", feature = "lua52"))] + #[cfg(any(feature = "lua53", feature = "lua52", doc))] + #[cfg_attr(docsrs, doc(cfg(any(feature = "lua53", feature = "lua52"))))] GarbageCollectorError(StdString), /// Potentially unsafe action in safe mode. SafetyError(StdString), |