test: add imports to doc snippets
This commit is contained in:
		
							
								
								
									
										4
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							@@ -1,10 +1,10 @@
 | 
				
			|||||||
# This file is automatically @generated by Cargo.
 | 
					# This file is automatically @generated by Cargo.
 | 
				
			||||||
# It is not intended for manual editing.
 | 
					# It is not intended for manual editing.
 | 
				
			||||||
version = 3
 | 
					version = 4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[[package]]
 | 
					[[package]]
 | 
				
			||||||
name = "ahab"
 | 
					name = "ahab"
 | 
				
			||||||
version = "0.3.0"
 | 
					version = "0.3.1"
 | 
				
			||||||
dependencies = [
 | 
					dependencies = [
 | 
				
			||||||
 "anyhow",
 | 
					 "anyhow",
 | 
				
			||||||
 "clap",
 | 
					 "clap",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,6 +26,7 @@ pub fn ps() -> Result<()> {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/// Start containers via `docker compose start`. Optionally pass containers to be started.
 | 
					/// Start containers via `docker compose start`. Optionally pass containers to be started.
 | 
				
			||||||
/// ```
 | 
					/// ```
 | 
				
			||||||
 | 
					/// # use ahab::scripts::docker_compose::start;
 | 
				
			||||||
/// start(None);
 | 
					/// start(None);
 | 
				
			||||||
/// ```
 | 
					/// ```
 | 
				
			||||||
/// is roughly the same as
 | 
					/// is roughly the same as
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user