From 71496990205bc4346cf835c1a3f620be1cb70f34 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 16 Dec 2024 12:51:43 +0100 Subject: [PATCH] doc: Add aliases (cherry picked from commit e52e118180d23439d0a7286bb41b8c9202066ad9) --- rust/nix-store/src/store.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/nix-store/src/store.rs b/rust/nix-store/src/store.rs index 8b74a85..9ac67ed 100644 --- a/rust/nix-store/src/store.rs +++ b/rust/nix-store/src/store.rs @@ -74,6 +74,7 @@ impl Store { /// Open a store. /// /// See [nix_c_raw::store_open] for more information. + #[doc(alias = "nix_store_open")] pub fn open<'a, 'b>( url: Option<&str>, params: impl IntoIterator, @@ -172,6 +173,7 @@ impl Store { self.inner.ptr() } + #[doc(alias = "nix_store_get_uri")] pub fn get_uri(&mut self) -> Result { let mut r = result_string_init!(); unsafe {