mirror of
				https://codeberg.org/ziglings/exercises.git
				synced 2025-11-04 04:35:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			339 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			339 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- exercises/032_unreachable.zig	2023-10-03 22:15:22.122241138 +0200
 | 
						|
+++ answers/032_unreachable.zig	2023-10-05 20:04:06.986098904 +0200
 | 
						|
@@ -35,6 +35,7 @@
 | 
						|
             3 => {
 | 
						|
                 current_value *= current_value;
 | 
						|
             },
 | 
						|
+            else => unreachable,
 | 
						|
         }
 | 
						|
 
 | 
						|
         std.debug.print("{} ", .{current_value});
 |