chore(rust): remove unnecessary missing_const_for_fn

This commit is contained in:
Boshen 2023-03-22 12:35:52 +08:00
parent ff9a2c3ab0
commit 9dfd4cd936
No known key found for this signature in database
GPG key ID: 6AC90C77AAAA6ABC
3 changed files with 2 additions and 3 deletions

View file

@ -99,7 +99,6 @@ impl<'alloc, T> Vec<'alloc, T> {
}
#[must_use]
#[allow(clippy::missing_const_for_fn)] // the destructor for this type cannot be evaluated in constant functions
pub fn into_inner(self) -> collections::Vec<'alloc, T> {
self.0
}

View file

@ -1,6 +1,6 @@
//! AST builder for creating AST spans
#![allow(clippy::unused_self, clippy::missing_const_for_fn, clippy::too_many_arguments)]
#![allow(clippy::unused_self, clippy::too_many_arguments)]
use oxc_allocator::{Allocator, Box, String, Vec};

@ -1 +1 @@
Subproject commit b168b246b79dc7891bd35d973454a8c862fd3c82
Subproject commit 2c952fe8505fc427cdfe30ed4b40343f0f5f39bc