fix some clippy stuff

This commit is contained in:
Schrottkatze 2025-05-13 10:05:59 +02:00
parent fdfff2c33a
commit a56df7c41c
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
10 changed files with 26 additions and 32 deletions

View file

@ -1,11 +1,7 @@
use array::array;
use enumset::{enum_set, EnumSet};
use lopal_core::parser::ParserBuilder;
use crate::{
syntax_error::SyntaxError,
syntax_kind::{lex, SyntaxKind},
};
use crate::{syntax_error::SyntaxError, syntax_kind::SyntaxKind};
use self::object::object;

View file

@ -14,7 +14,7 @@ pub fn lex(src: &str) -> Vec<(SyntaxKind, &str)> {
#[derive(enumset::EnumSetType, Debug, Logos, PartialEq, Eq, Clone, Copy, Hash)]
#[repr(u16)]
#[enumset(no_super_impls)]
#[allow(non_camel_case_types)]
#[allow(non_camel_case_types, reason = "convention")]
pub enum SyntaxKind {
OBJECT,
MEMBER,