From fa60b45005b9ab527b9b4ddf578834e65a528207 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 24 Jun 2024 13:22:28 -0700 Subject: fix a few doc lnks --- src/color_new.rs | 10 +++++----- src/testkit.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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; -- cgit v1.1