We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c63561 commit f3f0220Copy full SHA for f3f0220
src/lib.rs
@@ -545,17 +545,25 @@ impl Unescape for CStr {
545
/// Enum of the different kinds of literal
546
#[derive(Debug, Clone, Copy, PartialEq)]
547
pub enum Mode {
548
+ /// `'a'`
549
Char,
550
551
+ /// `b'a'`
552
Byte,
553
554
+ /// `"hello"`
555
Str,
556
+ /// `r"hello"`
557
RawStr,
558
559
+ /// `b"hello"`
560
ByteStr,
561
+ /// `br"hello"`
562
RawByteStr,
563
564
+ /// `c"hello"`
565
CStr,
566
+ /// `cr"hello"`
567
RawCStr,
568
}
569
0 commit comments