Skip to content

Commit f6cb4ed

Browse files
Update README.rst
Added missing `;` to `let` statement in the Organizing Options code sample.
1 parent 730ceb9 commit f6cb4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ easily borrow variables from the structure into option parser. For example::
147147
verbose: bool,
148148
}
149149
...
150-
let mut options = Options { verbose: false }
150+
let mut options = Options { verbose: false };
151151
parser.refer(&mut options.verbose)
152152
.add_option(&["-v"], StoreTrue,
153153
"Be verbose");

0 commit comments

Comments
 (0)