lib: satisfy clippy
This commit is contained in:
parent
aef78f3985
commit
4bab406a1a
|
|
@ -45,11 +45,13 @@ impl Default for RepoCheckoutAtOptions {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type StringStash<'a, T> = Stash<'a, *const c_char, Option<T>>;
|
||||||
|
|
||||||
impl<'a> ToGlibPtr<'a, *const OstreeRepoCheckoutAtOptions> for RepoCheckoutAtOptions {
|
impl<'a> ToGlibPtr<'a, *const OstreeRepoCheckoutAtOptions> for RepoCheckoutAtOptions {
|
||||||
type Storage = (
|
type Storage = (
|
||||||
Box<OstreeRepoCheckoutAtOptions>,
|
Box<OstreeRepoCheckoutAtOptions>,
|
||||||
Stash<'a, *const c_char, Option<PathBuf>>,
|
StringStash<'a, PathBuf>,
|
||||||
Stash<'a, *const c_char, Option<String>>,
|
StringStash<'a, String>,
|
||||||
);
|
);
|
||||||
|
|
||||||
fn to_glib_none(&'a self) -> Stash<*const OstreeRepoCheckoutAtOptions, Self> {
|
fn to_glib_none(&'a self) -> Stash<*const OstreeRepoCheckoutAtOptions, Self> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue