Skip to content

Commit 25501b9

Browse files
committed
fix typos in CHANGELOG.md
1 parent 1569395 commit 25501b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ Breaking changes:
467467
- [**Breaking**] Removed `AnyUserData::has_metamethod()`
468468
- Added `Thread::reset()` for luajit/lua54 to recycle threads.
469469
It's possible to attach a new function to a thread (coroutine).
470-
- Added `chunk!` macro support to load chunks of Lua code using the Rust tokenizer and optinally capturing Rust variables.
470+
- Added `chunk!` macro support to load chunks of Lua code using the Rust tokenizer and optionally capturing Rust variables.
471471
- Improved error reporting (`Error`'s `__tostring` method formats full stacktraces). This is useful in the module mode.
472472

473473
## v0.6.0-beta.1
@@ -523,7 +523,7 @@ Breaking changes:
523523

524524
- Lua 5.4 support with `MetaMethod::Close`.
525525
- `lua53` feature is disabled by default. Now preferred Lua version have to be chosen explicitly.
526-
- Provide safety guaraness for Lua state, which means that potenially unsafe operations, like loading C modules (using `require` or `package.loadlib`) are disabled. Equalient for the previous `Lua::new()` function is `Lua::unsafe_new()`.
526+
- Provide safety guarantees for Lua state, which means that potentially unsafe operations, like loading C modules (using `require` or `package.loadlib`) are disabled. Equivalent to the previous `Lua::new()` function is `Lua::unsafe_new()`.
527527
- New `send` feature to require `Send`.
528528
- New `module` feature, that disables linking to Lua Core Libraries. Required for modules.
529529
- Don't allow `'callback` outlive `'lua` in `Lua::create_function()` to fix [the unsoundness](tests/compile/static_callback_args.rs).

0 commit comments

Comments
 (0)