mirror of
https://github.com/openharmony/third_party_rust_scopeguard.git
synced 2026-06-30 20:58:00 -04:00
update README.rst
This commit is contained in:
@@ -53,6 +53,11 @@ How to use
|
||||
Recent Changes
|
||||
--------------
|
||||
|
||||
- 1.1.0
|
||||
|
||||
- Change macros (``defer!``, ``defer_on_success!`` and ``defer_on_unwind!``)
|
||||
to accept statements. (by @konsumlamm)
|
||||
|
||||
- 1.0.0
|
||||
|
||||
- Change the closure type from ``FnMut(&mut T)`` to ``FnOnce(T)``:
|
||||
|
||||
Reference in New Issue
Block a user