diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2023-05-27 22:08:42 +0100 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2023-05-27 22:08:42 +0100 |
commit | 3d7796de55f0b06e45aa8aa08ec353217125097d (patch) | |
tree | a88bd69e685e7ad1d21fb32d7ed434296ff3081d /src/lua.rs | |
parent | 4306e6e97818919f829266d336fbdc05271286c2 (diff) | |
download | mlua-3d7796de55f0b06e45aa8aa08ec353217125097d.zip |
clippy
Diffstat (limited to 'src/lua.rs')
-rw-r--r-- | src/lua.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,7 +147,7 @@ pub(crate) struct ExtraData { pub enum GCMode { Incremental, /// Requires `feature = "lua54"` - #[cfg(any(feature = "lua54"))] + #[cfg(feature = "lua54")] #[cfg_attr(docsrs, doc(cfg(feature = "lua54")))] Generational, } @@ -1280,7 +1280,7 @@ impl Lua { /// Requires `feature = "lua54"` /// /// [lua_doc]: https://www.lua.org/manual/5.4/manual.html#2.5.2 - #[cfg(any(feature = "lua54"))] + #[cfg(feature = "lua54")] #[cfg_attr(docsrs, doc(cfg(feature = "lua54")))] pub fn gc_gen(&self, minor_multiplier: c_int, major_multiplier: c_int) -> GCMode { let state = self.main_state; |