Fix some typos (#617)

This commit is contained in:
Kian-Meng Ang 2023-06-27 06:12:24 +08:00 committed by GitHub
parent 0f2f5f4ea6
commit 402d1ba4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -752,7 +752,7 @@ pub struct Args {
/// ///
/// You may want to use with '--log-file' to avoid polluting your terminal. /// You may want to use with '--log-file' to avoid polluting your terminal.
/// ///
/// Setting $RUST_LOG also works, and takes precendence, but is not recommended. However, using /// Setting $RUST_LOG also works, and takes precedence, but is not recommended. However, using
/// $RUST_LOG is the only way to get logs from before these options are parsed. /// $RUST_LOG is the only way to get logs from before these options are parsed.
#[arg( #[arg(
long, long,

View File

@ -93,9 +93,9 @@ fn asymmetric() {
path: "/foo/bar/baz".into(), path: "/foo/bar/baz".into(),
file_type: None file_type: None
}, },
// fs with only simple reprensentation // fs with only simple representation
Tag::FileEventKind(EventKind::Create(CreateKind::Any)), Tag::FileEventKind(EventKind::Create(CreateKind::Any)),
// unparseable of a known kind // unparsable of a known kind
Tag::Unknown, Tag::Unknown,
], ],
metadata: Default::default(), metadata: Default::default(),

View File

@ -8,7 +8,7 @@ use crate::{
}; };
/// Errors which _may_ be recoverable, transient, or only affect a part of the operation, and should /// Errors which _may_ be recoverable, transient, or only affect a part of the operation, and should
/// be reported to the user and/or acted upon programatically, but will not outright stop watchexec. /// be reported to the user and/or acted upon programmatically, but will not outright stop watchexec.
/// ///
/// Some errors that are classified here are spurious and may be ignored; in general you should not /// Some errors that are classified here are spurious and may be ignored; in general you should not
/// use the convenience print handlers for handling these errors beyond prototyping. For example, /// use the convenience print handlers for handling these errors beyond prototyping. For example,

View File

@ -420,7 +420,7 @@ Goes up to \*(Aq\-vvvv\*(Aq. When submitting bug reports, default to a \*(Aq\-vv
You may want to use with \*(Aq\-\-log\-file\*(Aq to avoid polluting your terminal. You may want to use with \*(Aq\-\-log\-file\*(Aq to avoid polluting your terminal.
Setting $RUST_LOG also works, and takes precendence, but is not recommended. However, using $RUST_LOG is the only way to get logs from before these options are parsed. Setting $RUST_LOG also works, and takes precedence, but is not recommended. However, using $RUST_LOG is the only way to get logs from before these options are parsed.
.TP .TP
\fB\-\-log\-file\fR=\fIPATH\fR \fB\-\-log\-file\fR=\fIPATH\fR
Write diagnostic logs to a file Write diagnostic logs to a file