From 25f25be9ddbed1848d70298693e50fb00bde343b Mon Sep 17 00:00:00 2001 From: Paul Young <84700+paulyoung@users.noreply.github.com> Date: Sat, 20 Apr 2024 23:33:00 -0700 Subject: [PATCH] Fix some doc aliases --- api/system/src/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/system/src/event.rs b/api/system/src/event.rs index 5f4c0f33..2a642b93 100644 --- a/api/system/src/event.rs +++ b/api/system/src/event.rs @@ -14,7 +14,7 @@ pub trait SystemEventExt { /// /// If you don’t provide an update callback, the system initializes a Lua context /// and calls your event handler again with event [`InitLua`](SystemEventExt::InitLua). - #[doc(alias = "sys::ffi::PDSystemEvent::kEventInitage")] + #[doc(alias = "sys::ffi::PDSystemEvent::kEventInit")] const Init: SystemEvent = SystemEvent::kEventInit; /// Program initialization in __lua context__. @@ -30,7 +30,7 @@ pub trait SystemEventExt { const Unlock: SystemEvent = SystemEvent::kEventUnlock; /// Program execution paused. - #[doc(alias = "sys::ffi::PDSystemEvent::kEventPausee")] + #[doc(alias = "sys::ffi::PDSystemEvent::kEventPause")] const Pause: SystemEvent = SystemEvent::kEventPause; /// Program execution resumed after [pause](SystemEventExt::Pause).