update docs to reflect new StorePath::new syntax
This commit is contained in:
parent
0cc0b69dc6
commit
642fe57408
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue