Function rust_code_analysis::get_from_ext
source · Expand description
Detects the language associated to the input file extension.
Examples
use rust_code_analysis::get_from_ext;
let ext = "rs";
get_from_ext(ext).unwrap();
Detects the language associated to the input file extension.
use rust_code_analysis::get_from_ext;
let ext = "rs";
get_from_ext(ext).unwrap();