• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zbraniecki / icu4x / 13958601093

19 Mar 2025 04:17PM UTC coverage: 74.164% (-1.5%) from 75.71%
13958601093

push

github

web-flow
Clean up properties docs (#6315)

58056 of 78281 relevant lines covered (74.16%)

819371.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/utils/tinystr/src/error.rs
1
// This file is part of ICU4X. For terms of use, please see the file
2
// called LICENSE at the top level of the ICU4X source tree
3
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4

5
use displaydoc::Display;
6

7
impl core::error::Error for ParseError {}
8

9
#[derive(Display, Debug, PartialEq, Eq)]
×
10
#[non_exhaustive]
11
pub enum ParseError {
12
    #[displaydoc("found string of larger length {len} when constructing string of length {max}")]
×
13
    TooLong { max: usize, len: usize },
×
14
    #[displaydoc("tinystr types do not support strings with null bytes")]
15
    ContainsNull,
16
    #[displaydoc("attempted to construct TinyAsciiStr from a non-ASCII string")]
17
    NonAscii,
18
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc