kconfig-linux 0.1.1

WIP crate for the KConfig DSL in the Linux kernel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

pub fn strip_quotes(source: &str) -> String {
    let mut src = source.to_string();
    if source.starts_with("\"") {
        src = src[1..].to_string();
    }

    if src.ends_with("\"") {
        src = src[..src.len()-1].to_string();
    }

    src
}