test: add imports to doc snippets

This commit is contained in:
Matej Janezic 2025-07-01 17:36:36 +02:00
parent 3ce4cbfad7
commit 568d126fc2
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
2 changed files with 3 additions and 2 deletions

4
Cargo.lock generated
View File

@ -1,10 +1,10 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "ahab"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"anyhow",
"clap",

View File

@ -26,6 +26,7 @@ pub fn ps() -> Result<()> {
/// Start containers via `docker compose start`. Optionally pass containers to be started.
/// ```
/// # use ahab::scripts::docker_compose::start;
/// start(None);
/// ```
/// is roughly the same as