[][src]Function drumatech::fileu::content_or_raw

pub fn content_or_raw(s: &str) -> String

the function returns file-content or raw-strings

Examples

extern crate drumatech;
use drumatech::fileu;
let s : String = fileu::content_or_raw("f main(){ return 30 }");
assert_eq!(String::from("f main(){ return 30 }"),s);