Skip to content

Commit 3529435

Browse files
committed
Inline doc for some types
1 parent eb76db5 commit 3529435

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,15 @@ pub use ffi::{self, lua_CFunction, lua_State};
101101

102102
pub use crate::chunk::{AsChunk, Chunk, ChunkMode};
103103
pub use crate::error::{Error, ErrorContext, ExternalError, ExternalResult, Result};
104+
#[doc(inline)]
104105
pub use crate::function::Function;
105106
pub use crate::multi::{MultiValue, Variadic};
106107
pub use crate::scope::Scope;
107108
pub use crate::state::{GCMode, Lua, LuaOptions, WeakLua};
108109
pub use crate::stdlib::StdLib;
110+
#[doc(inline)]
109111
pub use crate::string::{BorrowedBytes, BorrowedStr, LuaString};
112+
#[doc(inline)]
110113
pub use crate::table::Table;
111114
pub use crate::thread::{Thread, ThreadStatus};
112115
pub use crate::traits::{
@@ -116,6 +119,7 @@ pub use crate::types::{
116119
AppDataRef, AppDataRefMut, Either, Integer, LightUserData, MaybeSend, MaybeSync, Number, RegistryKey,
117120
VmState,
118121
};
122+
#[doc(inline)]
119123
pub use crate::userdata::AnyUserData;
120124
pub use crate::value::{Nil, Value};
121125

@@ -129,6 +133,7 @@ pub use crate::userdata::{
129133
};
130134

131135
#[cfg(not(feature = "luau"))]
136+
#[doc(inline)]
132137
pub use crate::debug::HookTriggers;
133138

134139
#[cfg(any(feature = "luau", doc))]

0 commit comments

Comments
 (0)