typo
This commit is contained in:
parent
1b44727749
commit
5bc8eba61d
1 changed files with 2 additions and 2 deletions
|
@ -57,11 +57,11 @@ impl Responder for Html {
|
|||
|
||||
/// Read a file
|
||||
pub fn read_file(filename: FilePath, expected_file: MType) -> Option<File> {
|
||||
read_file_aux(filename, expected_file)
|
||||
reader(filename, expected_file)
|
||||
}
|
||||
|
||||
#[cached]
|
||||
fn read_file_aux(filename: FilePath, expected_file: MType) -> Option<File> {
|
||||
fn reader(filename: FilePath, expected_file: MType) -> Option<File> {
|
||||
let as_str = filename.to_string();
|
||||
Path::new(&as_str)
|
||||
.extension()
|
||||
|
|
Loading…
Reference in a new issue