string-le 0.2.2

Extract every string in a codebase, with its position, so a person can read them
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// A comment mentioning "the docs" is prose, not a literal.

/// Every raw string form, each one value.
fn messages() -> Vec<&'static str> {
    let raw = r#"a raw "quoted" string"#;
    let hashed = r##"holds a "# sequence"##;
    let plain = r"C:\Users\test";
    let bytes = b"payload";
    let escaped = "say \"hi\"";
    let spanning = "first
second";
    let marker = '"';
    let empty = "";
    vec![raw, hashed, plain, bytes, escaped, spanning, empty]
}