diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2024-11-09 12:48:15 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2024-11-09 12:48:15 +0000 |
commit | 7aad0adcb4beacc8fb778b84fa6a2f088767acb7 (patch) | |
tree | c5096739d38841e511a266efbbbe4adf393da987 | |
parent | a3cd25db7ad41fc6862848171c8a774cb728a373 (diff) | |
download | mlua-7aad0adcb4beacc8fb778b84fa6a2f088767acb7.zip |
Update links to luau.org
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/state.rs | 2 | ||||
-rw-r--r-- | src/stdlib.rs | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -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 861a59b..bd2e52a 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<Buffer> { diff --git a/src/stdlib.rs b/src/stdlib.rs index b05e056..787b2fc 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); |