diff options
Diffstat (limited to 'src/common/raw.rs')
-rw-r--r-- | src/common/raw.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/raw.rs b/src/common/raw.rs index 070a62c..97d0353 100644 --- a/src/common/raw.rs +++ b/src/common/raw.rs @@ -1,12 +1,19 @@ use std::fmt; use std::fmt::Formatter; +use super::Result; + #[inline(always)] pub(crate) const fn is_continuation(_: u8) -> bool { false } #[inline(always)] +pub(crate) fn validate_bytes(_: &[u8]) -> Result<()> { + Ok(()) +} + +#[inline(always)] pub(crate) fn decode_code_point(_: &[u8]) -> u32 { unreachable!(); } |