Removed needless refrence.
This commit is contained in:
parent
44b1533dc0
commit
d7e9e3085f
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ impl EditorTab {
|
||||||
match path.file_name() {
|
match path.file_name() {
|
||||||
Some(file_name_os) => match file_name_os.to_str() {
|
Some(file_name_os) => match file_name_os.to_str() {
|
||||||
Some(file_name) => match file_name {
|
Some(file_name) => match file_name {
|
||||||
"mod.rs" => title_with_parent(&path, file_name),
|
"mod.rs" => title_with_parent(path, file_name),
|
||||||
_ => file_name.to_string(),
|
_ => file_name.to_string(),
|
||||||
},
|
},
|
||||||
None => format!("{}", path.display()),
|
None => format!("{}", path.display()),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue