From 313f1caaa049e1b9a6307c3d1bc374d3166f7bb1 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Tue, 8 Jun 2021 04:29:59 -0700 Subject: [PATCH] cargo doc complains about some urls that are not turned into links so turn them into links. --- rust/src/file.rs | 2 +- rust/src/input/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/src/file.rs b/rust/src/file.rs index 950e4870f..25429c3c1 100644 --- a/rust/src/file.rs +++ b/rust/src/file.rs @@ -65,7 +65,7 @@ fn get_error() -> Result { /// [`libc::FILE`](https://docs.rs/libc/0.2.80/libc/enum.FILE.html) /// /// The notcurses `FILE` type [`FILE_NC`] a struct imported through bindgen, -/// while the equivalent [`libc`][https://docs.rs/libc] crate FILE +/// while the equivalent [`libc`](https://docs.rs/libc) crate FILE /// ([`FILE_LIBC`]) is an opaque enum. /// /// Several methods are provided to cast back and forth between both types, diff --git a/rust/src/input/mod.rs b/rust/src/input/mod.rs index 7fcb6cc60..0d82f3f94 100644 --- a/rust/src/input/mod.rs +++ b/rust/src/input/mod.rs @@ -122,8 +122,8 @@ impl NcInput { /// Is this [char] a Supplementary Private Use Area-B codepoint? /// /// Links: -/// - https://en.wikipedia.org/wiki/Private_Use_Areas -/// - https://codepoints.net/supplementary_private_use_area-b +/// - +/// - #[inline] pub const fn nckey_supppuab_p(w: char) -> bool { w as u32 >= 0x100000_u32 && w as u32 <= 0x10fffd_u32