Fix features in Repo

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:53 -04:00
1 parent 8afba7f5ab
commit 13c61a9329
1 file changed
+5 -1
+5 -1
View File
@@ -1,4 +1,6 @@
use auto::{Repo, RepoListRefsExtFlags};
use crate::auto::Repo;
#[cfg(any(feature = "v2016_4", feature = "dox"))]
use crate::auto::RepoListRefsExtFlags;
use ffi;
use gio;
use glib;
@@ -48,6 +50,7 @@ pub trait RepoExtManual {
cancellable: Q,
) -> Result<HashMap<String, String>, Error>;
#[cfg(any(feature = "v2016_4", feature = "dox"))]
fn list_refs_ext<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(
&self,
refspec_prefix: P,
@@ -110,6 +113,7 @@ impl<O: IsA<Repo> + IsA<glib::Object> + Clone + 'static> RepoExtManual for O {
}
}
#[cfg(any(feature = "v2016_4", feature = "dox"))]
fn list_refs_ext<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(
&self,
refspec_prefix: P,