Setters should have no return value.

This commit is contained in:
Stephen Chung
2020-09-22 12:14:26 +08:00
parent 8095ebc9e4
commit 283495a02f
4 changed files with 35 additions and 27 deletions

View File

@@ -13,6 +13,11 @@ Bug fixes
* Indexers are available under `no_object`.
* Registered operator-assignment functions (e.g. `+=`) now work correctly.
Breaking changes
----------------
* `Engine::register_set_result` and `Engine::register_indexer_set_result` now take a function that returns `Result<(), Box<EvalAltResult>>`.
New features
------------