aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-24 13:22:28 -0700
committeriximeow <me@iximeow.net>2024-06-24 13:22:28 -0700
commitfa60b45005b9ab527b9b4ddf578834e65a528207 (patch)
treead1e2f69d71870dee606b9c55854f51707d7fca1
parent414df05622c460c95605e32c30e7429af7061073 (diff)
fix a few doc lnks
-rw-r--r--src/color_new.rs10
-rw-r--r--src/testkit.rs2
2 files changed, 6 insertions, 6 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:
diff --git a/src/testkit.rs b/src/testkit.rs
index 996b1e4..215a062 100644
--- a/src/testkit.rs
+++ b/src/testkit.rs
@@ -2,7 +2,7 @@
//! described in this crate.
//!
//! currently, this only includes tools to validate correct use of
-//! [`yaxpeax_arch::display::DisplaySink`], but may grow in the future.
+//! [`crate::display::DisplaySink`], but may grow in the future.
#[cfg(feature="alloc")]
mod display;