We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7203d9a commit 888dfceCopy full SHA for 888dfce
src/ascii_char.rs
@@ -295,6 +295,7 @@ impl AsciiChar {
295
///
296
/// # Example
297
/// ```
298
+ /// # #![allow(bindings_with_variant_name)]
299
/// # use ascii::AsciiChar;
300
/// let a = AsciiChar::from_ascii('g').unwrap();
301
/// assert_eq!(a.as_char(), 'g');
src/ascii_string.rs
@@ -308,6 +308,7 @@ impl AsciiString {
308
309
/// # Examples
310
311
312
/// # use ascii::AsciiString;
313
/// let mut s = AsciiString::from_ascii("foo").unwrap();
314
/// assert_eq!(s.pop().map(|c| c.as_char()), Some('o'));
0 commit comments