mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(rust): remove unnecessary missing_const_for_fn
This commit is contained in:
parent
ff9a2c3ab0
commit
9dfd4cd936
3 changed files with 2 additions and 3 deletions
|
|
@ -99,7 +99,6 @@ impl<'alloc, T> Vec<'alloc, T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[must_use]
|
#[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> {
|
pub fn into_inner(self) -> collections::Vec<'alloc, T> {
|
||||||
self.0
|
self.0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//! AST builder for creating AST spans
|
//! 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};
|
use oxc_allocator::{Allocator, Box, String, Vec};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit b168b246b79dc7891bd35d973454a8c862fd3c82
|
Subproject commit 2c952fe8505fc427cdfe30ed4b40343f0f5f39bc
|
||||||
Loading…
Reference in a new issue