tweak: use 2018 rust syntax instead of 2022 for formatting
This commit is contained in:
1 parent
0c0f638c47
commit
fa020c53e4
1 file changed
+1
-1
@@ -248,7 +248,7 @@ pub fn launch_with_props<P: 'static + Send>(
|
||||
|
||||
// do not let path searching to go two layers beyond the caller level
|
||||
let data = read(path_buf)?;
|
||||
let meta = format!("{mime}");
|
||||
let meta = format!("{}", mime);
|
||||
|
||||
wry::http::ResponseBuilder::new().mimetype(&meta).body(data)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user