diff options
author | iximeow <me@iximeow.net> | 2024-06-24 13:22:28 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-24 13:22:28 -0700 |
commit | fa60b45005b9ab527b9b4ddf578834e65a528207 (patch) | |
tree | ad1e2f69d71870dee606b9c55854f51707d7fca1 /src/color_new.rs | |
parent | 414df05622c460c95605e32c30e7429af7061073 (diff) |
fix a few doc lnks
Diffstat (limited to 'src/color_new.rs')
-rw-r--r-- | src/color_new.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/color_new.rs b/src/color_new.rs index ae941f2..1d3e358 100644 --- a/src/color_new.rs +++ b/src/color_new.rs @@ -44,10 +44,10 @@ pub trait YaxColors { /// support for colorizing text with ANSI control sequences. /// -/// the most useful item in this module is [`AnsiDisplaySink`], which interprets span entry and -/// exit as points at which ANSI sequences may need to be written into the output it wraps - that -/// output may be any type implementing [`DisplaySink`], including [`FmtSink`] to adapt any -/// implementer of `fmt::Write` such as standard out. +/// the most useful item in this module is [`ansi::AnsiDisplaySink`], which interprets span entry +/// and exit as points at which ANSI sequences may need to be written into the output it wraps - +/// that output may be any type implementing [`crate::display::DisplaySink`], including +/// [`crate::display::FmtSink`] to adapt any implementer of `fmt::Write` such as standard out. /// /// ## example /// @@ -136,7 +136,7 @@ pub mod ansi { /// adapter to insert ANSI color command sequences in formatted text to style printed /// instructions. /// - /// this enables similar behavior as the deprecated [`yaxpeax_arch::colors::Colorize`] trait, + /// this enables similar behavior as the deprecated [`crate::Colorize`] trait, /// for outputs that can process ANSI color commands. /// /// `AnsiDisplaySink` will silently ignore errors from writes to the underlying `T: |