Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Link to rustc bug
  • Loading branch information
alexcrichton committed May 10, 2021
commit 75b6172f152a058cf04f03798d91a7be6eadfa93
5 changes: 3 additions & 2 deletions accepted/new-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,9 @@ The goal of these traits and these implementations is to make it as ergonomic as
we can to pass whatever kind of context you have into a function requiring a
context and it'll work.

One downside of this generic approach, however, is that you can't do something
like this:
One downside of this generic approach, however, is
[rust-lang/rust#85161](https://github.com/rust-lang/rust/issues/85161) where
this does not compile:

```rust
fn call_func(store: &mut Store<()>, func: Func) {
Expand Down