forked from libre-chip/fayalite
		
	don't use #[allow(..., reason = "...")] since that's not stable yet on rust 1.80.1
This commit is contained in:
		
							parent
							
								
									ed1aea41f3
								
							
						
					
					
						commit
						017c14a2f1
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		|  | @ -607,10 +607,8 @@ impl BlockStack { | |||
| pub struct Id(NonZeroU64); | ||||
| 
 | ||||
| impl Id { | ||||
|     #[allow(
 | ||||
|         clippy::new_without_default, | ||||
|         reason = "returns a different value each time, so there isn't really a default value" | ||||
|     )] | ||||
|     // returns a different value each time, so there isn't really a default value
 | ||||
|     #[allow(clippy::new_without_default)] | ||||
|     pub fn new() -> Self { | ||||
|         static NEXT_ID: AtomicU64 = AtomicU64::new(1); | ||||
|         Self( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue