mirror of
				https://codeberg.org/ziglings/exercises.git
				synced 2025-11-04 04:35:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			467 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			467 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- exercises/033_iferror.zig	2023-10-03 22:15:22.122241138 +0200
 | 
						|
+++ answers/033_iferror.zig	2023-10-05 20:04:06.989432300 +0200
 | 
						|
@@ -39,6 +39,7 @@
 | 
						|
             std.debug.print("={}. ", .{value});
 | 
						|
         } else |err| switch (err) {
 | 
						|
             MyNumberError.TooBig => std.debug.print(">4. ", .{}),
 | 
						|
+            MyNumberError.TooSmall => std.debug.print("<4. ", .{}),
 | 
						|
             // Please add a match for TooSmall here and have it print: "<4. "
 | 
						|
         }
 | 
						|
     }
 |