Skip to content

Commit 3a7ff6a

Browse files
authored
Fix typo in GetOrAdd usage instructions
1 parent 4ee4d10 commit 3a7ff6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pool.GetOrAdd(key, _ => new ExpensiveObject());
2020
pool.GetOrAdd(key, _ => CreateExpensiveObject());
2121
```
2222

23-
When reviewing code, flag any `GetOrAdd` call where the second argument is **not** a delegate/lambda/method group. All other usages if GetOrAdd(key, value) should be justified.
23+
When reviewing code, flag any `GetOrAdd` call where the second argument is **not** a delegate/lambda/method group. All other usages of GetOrAdd(key, value) should be justified.
2424

2525
---
2626

0 commit comments

Comments
 (0)