Skip to content

Commit 77ae3b7

Browse files
authored
Merge pull request #47 from dario23/master
README.rst: make example compile
2 parents 0de60a5 + e6f75b3 commit 77ae3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ You may add multiple options for the same variable::
129129

130130
Similarly positional arguments are added::
131131

132-
let mut command = String;
132+
let mut command = String::new();
133133
parser.refer(&mut command)
134134
.add_argument("command", Store,
135135
"Command to run");

0 commit comments

Comments
 (0)