about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-22T15·40+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-22T15·40+0200
commit6193726fb7ba858254eaeec5d790ad7828bd13e9 (patch)
treec587a1bc93b4f5eb107340cda959cc0172d56ea3 /README.md
parent4df6ba856ba293e15ca0be271dbb897a76bbbccc (diff)
docs: Add note about undefer
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 752390fa14..160158d177 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,8 @@ You can run the examples with `cargo run --example defer`, etc.
 
 * `Drop` is not guaranteed to run in case of panics or program aborts, if you
   need support for that check out [scopeguard](https://github.com/bluss/scopeguard)
-
+* `undefer` could be implemented safely by, for example, carrying a boolean that
+  by default causes execution to happen but can be flipped to disable it
 
 ## Further reading: