fmt
This commit is contained in:
parent
f4413b0969
commit
e3f9a01f6b
1 changed files with 8 additions and 8 deletions
|
@ -44,8 +44,8 @@ impl FileAssociations {
|
||||||
let this = cx.has_global::<Self>().then(|| cx.global::<Self>())?;
|
let this = cx.has_global::<Self>().then(|| cx.global::<Self>())?;
|
||||||
|
|
||||||
iife!({
|
iife!({
|
||||||
let suffix =
|
let suffix = path
|
||||||
path.file_name()
|
.file_name()
|
||||||
.and_then(|os_str| os_str.to_str())
|
.and_then(|os_str| os_str.to_str())
|
||||||
.and_then(|file_name| {
|
.and_then(|file_name| {
|
||||||
file_name
|
file_name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue