Skip to content

Commit 5a1c915

Browse files
author
Ikko Eltociear Ashimine
authored
docs: update FAQ.md (microsoft#341)
1 parent 5be8aa0 commit 5a1c915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FAQ.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ As one might expect, Option 2 is *much* faster, and is also equally correct. As
427427

428428
However, there are cases where instantiation and structural inference can produce different results.
429429

430-
For example if `Box<T>` doesn't actually *use* `T`, then a structurally-based inference will find no occurences of `T` and infer `T = never`. *But* since there's never really a good reason to write a generic type this way, it's not considered to be problematic to do this.
430+
For example if `Box<T>` doesn't actually *use* `T`, then a structurally-based inference will find no occurrences of `T` and infer `T = never`. *But* since there's never really a good reason to write a generic type this way, it's not considered to be problematic to do this.
431431

432432
Which inference algorithm is chosen is implementation-dependent and may change for necessary correctness or performance reasons; you should not take a dependency on one or the other occurring.
433433

0 commit comments

Comments
 (0)