Skip to content

Commit

Permalink
improve summary descriptions of prettypretty's abstractions
Browse files Browse the repository at this point in the history
  • Loading branch information
apparebit committed Jul 12, 2024
1 parent c2c5600 commit 33a7f0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/core/difference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ fn prepare_coordinate_interpolation(
intermediate
}

/// A strategy for interpolating hues.
/// A strategy for interpolating hues used by
/// [`Color::interpolate`](crate::Color::interpolate).
///
/// Since hues are expressed as angles, the same perceptual hue has an infinite
/// number of representations modulo 360. Furthermore, there are two ways of
Expand Down
2 changes: 1 addition & 1 deletion src/term_color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ impl TryFrom<TerminalColor> for Color {
// ====================================================================================================================
// Layer and Fidelity

/// The layer for rendering to the terminal: Foreground or background.
/// The targeted display layer: Foreground or background.
#[cfg_attr(feature = "pyffi", pyclass(eq, eq_int, frozen, hash))]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub enum Layer {
Expand Down
2 changes: 1 addition & 1 deletion src/translation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl TryFrom<usize> for ThemeEntry {
}
}

/// An iterator over theme entries.
/// A helper for iterating over the slot names of theme entries.
///
/// This iterator is fused, i.e., after returning `None` once, it will keep
/// returning `None`. This iterator also is exact, i.e., its `size_hint()`
Expand Down

0 comments on commit 33a7f0f

Please sign in to comment.