Stream: git-wasmtime

Topic: wasmtime / PR #5275 Remove explicit `S` type parameters


view this post on Zulip Wasmtime GitHub notifications bot (Nov 15 2022 at 23:18):

alexcrichton opened PR #5275 from remove-type-parameter to main:

This commit removes the explicit S type parameter on Func::typed and Instance::get_typed_func. Historical versions of Rust required that this be a type parameter but recent rustcs support a mixture of explicit type parameters and impl Trait. This removes, at callsites, a superfluous , _ argument which otherwise never needs specification.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 15 2022 at 23:19):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 00:33):

alexcrichton updated PR #5275 from remove-type-parameter to main.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 00:33):

alexcrichton has enabled auto merge for PR #5275.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 05:04):

alexcrichton merged PR #5275.


Last updated: Nov 22 2024 at 17:03 UTC