diff --git a/core/src/dar_syntax/ast/condition.rs b/core/src/dar_syntax/ast/condition.rs index 9625571..7d6aae5 100644 --- a/core/src/dar_syntax/ast/condition.rs +++ b/core/src/dar_syntax/ast/condition.rs @@ -12,7 +12,7 @@ pub enum Condition<'input> { Exp(Expression<'input>), } -impl<'input> Condition<'input> { +impl Condition<'_> { /// push to inner vec /// /// # panics diff --git a/core/src/values/numeric_literal.rs b/core/src/values/numeric_literal.rs index d911a9c..1fcc5f2 100644 --- a/core/src/values/numeric_literal.rs +++ b/core/src/values/numeric_literal.rs @@ -76,7 +76,7 @@ impl<'de> Deserialize<'de> for NumericLiteral { /// Inner deserialization struct struct NumericLiteralVisitor; - impl<'de> serde::de::Visitor<'de> for NumericLiteralVisitor { + impl serde::de::Visitor<'_> for NumericLiteralVisitor { type Value = NumericLiteral; fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result { diff --git a/gui/frontend/src/components/organisms/ConvertForm/ConvertForm.tsx b/gui/frontend/src/components/organisms/ConvertForm/ConvertForm.tsx index 7a5137d..71b8a3d 100644 --- a/gui/frontend/src/components/organisms/ConvertForm/ConvertForm.tsx +++ b/gui/frontend/src/components/organisms/ConvertForm/ConvertForm.tsx @@ -142,9 +142,7 @@ export function ConvertForm() { const InputPathFields = () => { const pathFields = useInputPathFields(); - return ( - pathFields.map((props) => { - return - }) - ) -} + return pathFields.map((props) => { + return ; + }); +}; diff --git a/gui/frontend/src/components/organisms/ConvertForm/useModInfoField.tsx b/gui/frontend/src/components/organisms/ConvertForm/useModInfoField.tsx index f0082f7..803dd1d 100644 --- a/gui/frontend/src/components/organisms/ConvertForm/useModInfoField.tsx +++ b/gui/frontend/src/components/organisms/ConvertForm/useModInfoField.tsx @@ -1,7 +1,6 @@ import { useTranslation } from '@/components/hooks/useTranslation'; -import { InputModInfoField } from './InputModInfoField'; - +import type { InputModInfoField } from './InputModInfoField'; import type { ComponentPropsWithRef } from 'react'; export const useModInfoFields = () => {