fix broken links in documentation

This commit is contained in:
Vinzenz Schroeter 2024-11-12 22:11:45 +01:00
parent 7fbfb9370e
commit 0ca1b67cb6
8 changed files with 49 additions and 25 deletions

View file

@ -97,7 +97,7 @@ mod feature_cp437 {
///
/// See <https://en.wikipedia.org/wiki/Code_page_437#Character_set>
///
/// Mostly copied from https://github.com/kip93/cp437-tools. License: GPL-3.0
/// Mostly copied from <https://github.com/kip93/cp437-tools>. License: GPL-3.0
#[rustfmt::skip]
pub const CP437_TO_UTF8: [char; 256] = [
/* 0X */ '\0', '☺', '☻', '♥', '♦', '♣', '♠', '•', '◘', '○', '\n', '♂', '♀', '♪', '♫', '☼',

View file

@ -147,6 +147,8 @@ impl<T: PrimitiveGridType> PrimitiveGrid<T> {
/// let grid: BrightnessGrid = grid.map(Brightness::saturating_from);
/// let command = Command::CharBrightness(Origin::ZERO, grid);
/// ```
/// [Brightness]: [crate::Brightness]
/// [Command]: [crate::Command]
pub fn map<TConverted, F>(&self, f: F) -> PrimitiveGrid<TConverted>
where
TConverted: PrimitiveGridType,