File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ impl Lua {
377
377
///
378
378
/// This is similar to setting the [`package.preload[modname]`] field.
379
379
///
380
- /// [`package.preload[modname]`]: https://www.lua.org/manual/5.4/manual.html#pdf-package.preload
380
+ /// [`package.preload[modname]`]: < https://www.lua.org/manual/5.4/manual.html#pdf-package.preload>
381
381
#[ cfg( not( feature = "luau" ) ) ]
382
382
#[ cfg_attr( docsrs, doc( cfg( not( feature = "luau" ) ) ) ) ]
383
383
pub fn preload_module ( & self , modname : & str , func : Function ) -> Result < ( ) > {
@@ -636,7 +636,7 @@ impl Lua {
636
636
/// Also this can be used to implement continuous execution limits by instructing Luau VM to
637
637
/// yield by returning [`VmState::Yield`].
638
638
///
639
- /// This is similar to [ `Lua::set_hook`] but in more simplified form.
639
+ /// This is similar to `Lua::set_hook` but in more simplified form.
640
640
///
641
641
/// # Example
642
642
///
Original file line number Diff line number Diff line change @@ -263,6 +263,8 @@ impl Thread {
263
263
/// You can have multiple hooks for different threads.
264
264
///
265
265
/// To remove a hook call [`Thread::remove_hook`].
266
+ ///
267
+ /// [`Lua::set_hook`]: crate::Lua::set_hook
266
268
#[ cfg( not( feature = "luau" ) ) ]
267
269
#[ cfg_attr( docsrs, doc( cfg( not( feature = "luau" ) ) ) ) ]
268
270
pub fn set_hook < F > ( & self , triggers : HookTriggers , callback : F ) -> Result < ( ) >
You can’t perform that action at this time.
0 commit comments