From 00a5b24c212b0352ab17a8c6c237cd8f088a2613 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Fri, 4 Aug 2023 11:41:21 -0500 Subject: [PATCH] Fix 'cargo docs' warnings --- matcher/src/chars.rs | 2 +- src/boxcar.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matcher/src/chars.rs b/matcher/src/chars.rs index 4d61777..503cc9a 100644 --- a/matcher/src/chars.rs +++ b/matcher/src/chars.rs @@ -16,7 +16,7 @@ pub(crate) trait Char: Copy + Eq + Ord + fmt::Display { fn normalize(self, config: &MatcherConfig) -> Self; } -/// repr tansparent wrapper around u8 with better formatting and PartialEq implementation +/// repr tansparent wrapper around u8 with better formatting and `PartialEq` implementation #[repr(transparent)] #[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Copy)] pub(crate) struct AsciiChar(pub u8); diff --git a/src/boxcar.rs b/src/boxcar.rs index 95e210f..67b1cb0 100644 --- a/src/boxcar.rs +++ b/src/boxcar.rs @@ -1,4 +1,4 @@ -//! Adapted from the `boxcar` crate at https://github.com/ibraheemdev/boxcar/blob/master/src/raw.rs +//! Adapted from the `boxcar` crate at //! under MIT licenes: //! //! Copyright (c) 2022 Ibraheem Ahmed