Use struct shorthand initialization.

This commit is contained in:
teymour-aldridge 2021-06-24 16:14:22 +01:00
parent 9d1af2ac7b
commit 506032129d
No known key found for this signature in database
GPG key ID: 00D1DE4A3693A341
2 changed files with 5 additions and 5 deletions

View file

@ -86,9 +86,9 @@ impl FileManager {
pool_handle: Weak<CoreResourceThreadPool>,
) -> FileManager {
FileManager {
embedder_proxy: embedder_proxy,
embedder_proxy,
store: Arc::new(FileManagerStore::new()),
thread_pool: pool_handle,
thread_pool: pool_handle
}
}