Fix doc links

This commit is contained in:
Félix Saparelli 2021-10-17 03:06:08 +13:00
parent 60fa09182d
commit 70b1a3cd7b
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
2 changed files with 7 additions and 5 deletions

View File

@ -36,9 +36,11 @@ pub enum Outcome {
/// Reset the (terminal) screen.
///
/// This invokes (in order): [`WindowsCooked`][ClearScreen::WindowsCooked],
/// [`WindowsVt`][ClearScreen::WindowsVt], [`VtLeaveAlt`][ClearScreen::VtLeaveAlt],
/// [`VtWellDone`][ClearScreen::VtWellDone], and [the default clear][ClearScreen::default()].
/// This invokes (in order): [`WindowsCooked`][clearscreen::ClearScreen::WindowsCooked],
/// [`WindowsVt`][clearscreen::ClearScreen::WindowsVt],
/// [`VtLeaveAlt`][clearscreen::ClearScreen::VtLeaveAlt],
/// [`VtWellDone`][clearscreen::ClearScreen::VtWellDone],
/// and [the default clear][clearscreen::ClearScreen::default()].
Reset,
/// Exit watchexec.

View File

@ -220,8 +220,8 @@ pub enum RuntimeError {
/// Error emitted by a [`Filterer`](crate::filter::Filterer).
///
/// With built-in filterers this will probably be a dynbox of
/// [`TaggedFiltererError`](crate::filter::tagged::TaggedFiltererError), but it is possible to
/// use a custom filterer which emits a different error type.
/// [`TaggedFiltererError`](crate::filter::tagged::error::TaggedFiltererError), but it is
/// possible to use a custom filterer which emits a different error type.
#[error("{kind} filterer: {err}")]
#[diagnostic(code(watchexec::runtime::filterer))]
Filterer {