From 642fe57408efae2385d3851eaf4c39170c7575c6 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Mon, 13 Apr 2026 20:29:54 +1000 Subject: [PATCH] update docs to reflect new StorePath::new syntax --- nixide/src/store/path.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixide/src/store/path.rs b/nixide/src/store/path.rs index 5ed68d3..b316997 100644 --- a/nixide/src/store/path.rs +++ b/nixide/src/store/path.rs @@ -79,8 +79,8 @@ impl StorePath { /// use nixide::{Store, StorePath}; /// /// fn main() { - /// let store_ref = Store::default().unwrap(); - /// let path = StorePath::new("/nix/store/f7gmvzd74wc1vlxzjdqy0af2381g8wr6-nix-manual-2.31.2-man").unwrap(); + /// let storeref = Store::default().unwrap(); + /// let path = StorePath::new(storeref, "/nix/store/f7gmvzd74wc1vlxzjdqy0af2381g8wr6-nix-manual-2.31.2-man").unwrap(); /// } /// ``` ///