mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-04 00:27:39 +00:00 
			
		
		
		
	Fixing Typos and Improving Code Consistency (#344)
* Update file_location_cache.rs * Update pora.rs
This commit is contained in:
		
							parent
							
								
									46bc97978e
								
							
						
					
					
						commit
						d640eab3ad
					
				@ -95,7 +95,7 @@ impl<'a> Miner<'a> {
 | 
				
			|||||||
            .enumerate()
 | 
					            .enumerate()
 | 
				
			||||||
            .zip(scratch_pad.iter().cycle())
 | 
					            .zip(scratch_pad.iter().cycle())
 | 
				
			||||||
            .zip(availabilities.into_iter())
 | 
					            .zip(availabilities.into_iter())
 | 
				
			||||||
            .filter_map(|(data, availiable)| availiable.then_some(data))
 | 
					            .filter_map(|(data, available)| available.then_some(data))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            inc_counter(&PAD_MIX_COUNT);
 | 
					            inc_counter(&PAD_MIX_COUNT);
 | 
				
			||||||
            // Rust can optimize this loop well.
 | 
					            // Rust can optimize this loop well.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user