Minor change: reorder destroy() and deinit()
This commit is contained in:
		
							parent
							
								
									3625c996cf
								
							
						
					
					
						commit
						24a5e7c135
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -591,8 +591,8 @@ test "mount" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // The fs that is to be mounted
 | 
					    // The fs that is to be mounted
 | 
				
			||||||
    var testfs2 = try testInitFs(allocator);
 | 
					    var testfs2 = try testInitFs(allocator);
 | 
				
			||||||
    defer testfs2.deinit();
 | 
					 | 
				
			||||||
    defer allocator.destroy(testfs2);
 | 
					    defer allocator.destroy(testfs2);
 | 
				
			||||||
 | 
					    defer testfs2.deinit();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    testfs2.instance = 2;
 | 
					    testfs2.instance = 2;
 | 
				
			||||||
    // Create the dir to mount to
 | 
					    // Create the dir to mount to
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue