Some doc improvements

This commit is contained in:
Alex Orlenko
2023-07-11 00:23:31 +01:00
parent 4adc3116f9
commit 389526bb80
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1319,7 +1319,7 @@ impl Lua {
///
/// By default JIT is enabled. Changing this option does not have any effect on
/// already loaded functions.
#[cfg(any(feature = "luau-jit", docsrs))]
#[cfg(any(feature = "luau-jit", doc))]
#[cfg_attr(docsrs, doc(cfg(feature = "luau-jit")))]
pub fn enable_jit(&self, enable: bool) {
unsafe { (*self.extra.get()).enable_jit = enable };