on master help sign in
Fix doc comment typo
commit6b6a8f8e160e3dc0ca887253429623b0360913cf authorOle Martin Ruud <barskern@outlook.com> dateTue 27 Nov 2018, 02:41 (8 years ago) parent6aa0028
1 file changed+2−2
src/main.rs+2−2
src/main.rs+2−2
@@ -195,8 +195,8 @@ fn run_controller(config: &Config) -> Result<bool> {
195195 controller.run()
196196}
197197
198−/// Returns `Err(..)` upon fatal errors. Otherwise, returns `Some(true)` on full success and
199−/// `Some(false)` if any intermediate errors occurred (were printed).
198+/// Returns `Err(..)` upon fatal errors. Otherwise, returns `Ok(true)` on full success and
199+/// `Ok(false)` if any intermediate errors occurred (were printed).
200200fn run() -> Result<bool> {
201201 let app = App::new()?;
202202