chore: use Rust 1.65.0 (#16688)

This commit is contained in:
Aaron O'Mullan 2022-11-17 22:59:10 -03:00 committed by GitHub
parent 483c10c94b
commit 238590aa9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 119 additions and 130 deletions

View file

@ -47,8 +47,6 @@ struct Op {
impl Op {
fn new(mut item: ItemFn, attrs: Attributes) -> Self {
add_scope_lifetime(&mut item);
// Preserve the original function. Change the name to `call`.
//
// impl op_foo {
@ -58,6 +56,8 @@ impl Op {
let mut orig = item.clone();
orig.sig.ident = Ident::new("call", Span::call_site());
add_scope_lifetime(&mut item);
let is_async = item.sig.asyncness.is_some() || is_future(&item.sig.output);
let type_params = exclude_lifetime_params(&item.sig.generics.params);
let core = deno::import();