Skip to content

Commit 6dc0b18

Browse files
authored
Update posts/2019-05-23-Rust-1.35.0.md
1 parent 559bb21 commit 6dc0b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2019-05-23-Rust-1.35.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This was because instances of `Box<dyn FnOnce>` and friends did not implement th
4343
This also meant that it was not possible to pass boxed functions to code expecting an implementor of a `Fn` trait,
4444
and you had to create temporary closures to pass them down.
4545

46-
This was ultimately due to a limitation in the compiler's ability to reason about such impls,
46+
This was ultimately due to a limitation in the compiler's ability to reason about such implementations,
4747
which has since been fixed with the introduction of [unsized locals].
4848

4949
With this release, you can now use boxed functions in places that expect items implementing a function trait.

0 commit comments

Comments
 (0)