menu.rs: moar commentz
This commit is contained in:
		
							parent
							
								
									3d68a0da43
								
							
						
					
					
						commit
						d8603bfecc
					
				
							
								
								
									
										1
									
								
								menu.rs
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								menu.rs
									
									
									
									
									
								
							@ -19,6 +19,7 @@
 | 
			
		||||
 | 
			
		||||
// I'm still something of a Rust beginner. There's plenty of room for
 | 
			
		||||
// improvement with regards to the code. Some thoughts:
 | 
			
		||||
//  - error handling (menu(1) ***PANICS*** on a bad entry)
 | 
			
		||||
//  - general code cleanup
 | 
			
		||||
//  - memory efficiency (replace `entries` with a single String)
 | 
			
		||||
//  - option parsing (vendor a dependency? use (shudder) cargo?)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user