mirror of
				https://github.com/NotAShelf/microfetch.git
				synced 2025-11-04 07:32:20 +00:00 
			
		
		
		
	refactor: remove some redundant error types (#4)
This commit is contained in:
		
					parent
					
						
							
								927f6077b4
							
						
					
				
			
			
				commit
				
					
						ae76a0cbe1
					
				
			
		
					 5 changed files with 35 additions and 39 deletions
				
			
		| 
						 | 
				
			
			@ -23,5 +23,5 @@ pub fn get_os_pretty_name() -> Result<String, io::Error> {
 | 
			
		|||
                .to_string()
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
    Ok(pretty_name.unwrap_or_else(|| "Unknown".to_string()))
 | 
			
		||||
    Ok(pretty_name.unwrap_or("Unknown".to_string()))
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue