mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-16 23:36:13 +00:00
editor/code: Re-apply code format
This commit is contained in:
parent
9d06aa55b4
commit
f7823f3106
17 changed files with 180 additions and 175 deletions
|
@ -114,7 +114,7 @@ export function setContextValue(key: string, value: any): Thenable<void> {
|
|||
* underlying async function.
|
||||
*/
|
||||
export function memoizeAsync<Ret, TThis, Param extends string>(
|
||||
func: (this: TThis, arg: Param) => Promise<Ret>
|
||||
func: (this: TThis, arg: Param) => Promise<Ret>,
|
||||
) {
|
||||
const cache = new Map<string, Ret>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue