src: address a bunch of clippy::pedantic lints
This commit is contained in:
		@@ -16,7 +16,7 @@ impl std::fmt::Debug for Span {
 | 
			
		||||
 | 
			
		||||
#[expect(non_snake_case)]
 | 
			
		||||
/// Stores the start and end byte position
 | 
			
		||||
pub fn Span(head: u32, tail: u32) -> Span {
 | 
			
		||||
pub const fn Span(head: u32, tail: u32) -> Span {
 | 
			
		||||
    Span { head, tail }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user