docs: fix typos (#147)

Found via `codespell -S target -L crate,nd`
This commit is contained in:
Kian-Meng Ang
2022-12-10 09:18:54 +08:00
committed by GitHub
parent f061365587
commit 7eef4407fc
4 changed files with 9 additions and 9 deletions

View File

@@ -206,7 +206,7 @@ pub struct Args {
impl Args {
/// Parse command-line arguments.
///
/// If a parsing error ocurred, exit the process and print out informative
/// If a parsing error occurred, exit the process and print out informative
/// error message to user.
pub fn parse(matches: ArgMatches) -> BoxResult<Args> {
let port = *matches.get_one::<u16>("port").unwrap();