From 7aad0adcb4beacc8fb778b84fa6a2f088767acb7 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sat, 9 Nov 2024 12:48:15 +0000 Subject: [PATCH] Update links to luau.org --- README.md | 4 ++-- src/state.rs | 2 +- src/stdlib.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ee0661f1..fbd847d1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Started as `rlua` fork, `mlua` supports Lua 5.4, 5.3, 5.2, 5.1 (including LuaJIT WebAssembly (WASM) is supported through `wasm32-unknown-emscripten` target for all Lua versions excluding JIT. [GitHub Actions]: https://github.com/khvzak/mlua/actions -[Roblox Luau]: https://luau-lang.org +[Roblox Luau]: https://luau.org ## Usage @@ -291,7 +291,7 @@ Please check the [Luau Sandboxing] page if you are interested in running untrust `mlua` provides `Lua::sandbox` method for enabling sandbox mode (Luau only). -[Luau Sandboxing]: https://luau-lang.org/sandbox +[Luau Sandboxing]: https://luau.org/sandbox ## License diff --git a/src/state.rs b/src/state.rs index 861a59b4..bd2e52a9 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1028,7 +1028,7 @@ impl Lua { /// /// Requires `feature = "luau"` /// - /// [buffer]: https://luau-lang.org/library#buffer-library + /// [buffer]: https://luau.org/library#buffer-library #[cfg(any(feature = "luau", doc))] #[cfg_attr(docsrs, doc(cfg(feature = "luau")))] pub fn create_buffer(&self, buf: impl AsRef<[u8]>) -> Result { diff --git a/src/stdlib.rs b/src/stdlib.rs index b05e0565..787b2fcb 100644 --- a/src/stdlib.rs +++ b/src/stdlib.rs @@ -43,12 +43,12 @@ impl StdLib { /// [`package`](https://www.lua.org/manual/5.4/manual.html#6.3) library pub const PACKAGE: StdLib = StdLib(1 << 8); - /// [`buffer`](https://luau-lang.org/library#buffer-library) library + /// [`buffer`](https://luau.org/library#buffer-library) library #[cfg(any(feature = "luau", doc))] #[cfg_attr(docsrs, doc(cfg(feature = "luau")))] pub const BUFFER: StdLib = StdLib(1 << 9); - /// [`vector`](https://luau-lang.org/library#vector-library) library + /// [`vector`](https://luau.org/library#vector-library) library #[cfg(any(feature = "luau", doc))] #[cfg_attr(docsrs, doc(cfg(feature = "luau")))] pub const VECTOR: StdLib = StdLib(1 << 10);