Skip to content

Commit 1c0a808

Browse files
committed
Fix markdown for code sample
1 parent 573ffc8 commit 1c0a808

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,10 @@ The following actions are available out of the box. They may be used in either
258258
may be used.
259259

260260
``StoreOption``
261-
As ``Store``, but wrap value with ``Some`` for use with ``Option``. For
262-
example:
261+
As ``Store``, but wrap value with ``Some`` for use with ``Option``. For example:
263262

264-
let mut x: Option<i32> = None;
265-
ap.refer(&mut x).add_option(&["-x"], StoreOption, "Set var x");
263+
let mut x: Option<i32> = None;
264+
ap.refer(&mut x).add_option(&["-x"], StoreOption, "Set var x");
266265

267266
``StoreConst(value)``
268267
An option has no arguments. Store a hard-coded ``value`` into variable,

0 commit comments

Comments
 (0)