Skip to content

Commit

Permalink
apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Nov 20, 2024
1 parent 04f34ab commit c419be7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/wasmparser/src/validator/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ use super::{
operators::{ty_to_str, OperatorValidator, OperatorValidatorAllocations},
types::{CoreTypeId, EntityType, RecGroupId, TypeAlloc, TypeList},
};
#[cfg(feature = "simd")]
use crate::VisitSimdOperator;
use crate::{
limits::*, BinaryReaderError, ConstExpr, Data, DataKind, Element, ElementKind, ExternalKind,
FuncType, Global, GlobalType, HeapType, MemoryType, RecGroup, RefType, Result, SubType, Table,
TableInit, TableType, TagType, TypeRef, UnpackedIndex, ValType, VisitOperator, WasmFeatures,
WasmModuleResources,
};
#[cfg(feature = "simd")]
use crate::VisitSimdOperator;
use crate::{prelude::*, CompositeInnerType};
use alloc::sync::Arc;
use core::mem;
Expand Down Expand Up @@ -524,7 +524,9 @@ impl ModuleState {
impl<'a> VisitOperator<'a> for VisitConstOperator<'a> {
type Output = Result<()>;

fn simd_visitor(&mut self) -> Option<&mut dyn crate::VisitSimdOperator<'a, Output = Self::Output>> {
fn simd_visitor(
&mut self,
) -> Option<&mut dyn crate::VisitSimdOperator<'a, Output = Self::Output>> {
Some(self)
}

Expand Down

0 comments on commit c419be7

Please sign in to comment.