mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
vscode-postrefactor: prefer arrow functions
This commit is contained in:
parent
9789f984cb
commit
d38d59fed8
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ async function askToDownloadProperExtensionVersion(config: Config, reason = "")
|
|||
* each of them would result in a ton of code (especially accounting for cross-process
|
||||
* shared mutable `globalState` access). Enforcing no reentrancy for this is best-effort.
|
||||
*/
|
||||
const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNightlyExtension(
|
||||
const tryDownloadNightlyExtension = notReentrant(async (
|
||||
config: Config,
|
||||
shouldDownload: (releaseInfo: ArtifactReleaseInfo) => boolean = () => true
|
||||
): Promise<never | void> {
|
||||
|
|
Loading…
Reference in a new issue