Fix 'cargo docs' warnings

This commit is contained in:
Michael Davis 2023-08-04 11:41:21 -05:00
parent def0cb23cb
commit 00a5b24c21
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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<char> implementation
/// repr tansparent wrapper around u8 with better formatting and `PartialEq<char>` implementation
#[repr(transparent)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Copy)]
pub(crate) struct AsciiChar(pub u8);

View File

@ -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 <https://github.com/ibraheemdev/boxcar/blob/master/src/raw.rs>
//! under MIT licenes:
//!
//! Copyright (c) 2022 Ibraheem Ahmed