mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		@ -3,7 +3,7 @@ use nom::{
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
use crate::{frontend::ast, types::DummyOutput};
 | 
			
		||||
pub type ParseResult<T, U> = nom::IResult<T, U, nom::error::VerboseError<T>>;
 | 
			
		||||
pub type ParseResult<T, U> = nom::IResult<T, U, error::VerboseError<T>>;
 | 
			
		||||
 | 
			
		||||
pub enum EuclidError {
 | 
			
		||||
    InvalidPercentage(String),
 | 
			
		||||
@ -50,9 +50,9 @@ impl EuclidParsable for DummyOutput {
 | 
			
		||||
        )(input)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
pub fn skip_ws<'a, F: 'a, O>(inner: F) -> impl FnMut(&'a str) -> ParseResult<&str, O>
 | 
			
		||||
pub fn skip_ws<'a, F, O>(inner: F) -> impl FnMut(&'a str) -> ParseResult<&str, O>
 | 
			
		||||
where
 | 
			
		||||
    F: FnMut(&'a str) -> ParseResult<&str, O>,
 | 
			
		||||
    F: FnMut(&'a str) -> ParseResult<&str, O> + 'a,
 | 
			
		||||
{
 | 
			
		||||
    sequence::preceded(pchar::multispace0, inner)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user