We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 573ffc8 commit 07740f8Copy full SHA for 07740f8
README.rst
@@ -258,11 +258,12 @@ The following actions are available out of the box. They may be used in either
258
may be used.
259
260
``StoreOption``
261
- As ``Store``, but wrap value with ``Some`` for use with ``Option``. For
262
- example:
+ As ``Store``, but wrap value with ``Some`` for use with ``Option``. For example:
263
264
- let mut x: Option<i32> = None;
265
- ap.refer(&mut x).add_option(&["-x"], StoreOption, "Set var x");
+```Rust
+let mut x: Option<i32> = None;
+ap.refer(&mut x).add_option(&["-x"], StoreOption, "Set var x");
266
+```
267
268
``StoreConst(value)``
269
An option has no arguments. Store a hard-coded ``value`` into variable,
0 commit comments