doc: Add aliases
(cherry picked from commit e52e118180d23439d0a7286bb41b8c9202066ad9)
This commit is contained in:
parent
cbce27eb64
commit
7149699020
1 changed files with 2 additions and 0 deletions
|
|
@ -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<Item = (&'a str, &'b str)>,
|
||||
|
|
@ -172,6 +173,7 @@ impl Store {
|
|||
self.inner.ptr()
|
||||
}
|
||||
|
||||
#[doc(alias = "nix_store_get_uri")]
|
||||
pub fn get_uri(&mut self) -> Result<String> {
|
||||
let mut r = result_string_init!();
|
||||
unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue