Fix clippy issues
This commit is contained in:
1 parent
dfcaf3eede
commit
b5fba187ff
1 file changed
+3
-3
@@ -54,7 +54,7 @@ impl Repo {
|
|||||||
commit_checksum.to_glib_none().0,
|
commit_checksum.to_glib_none().0,
|
||||||
maxdepth,
|
maxdepth,
|
||||||
&mut hashtable,
|
&mut hashtable,
|
||||||
cancellable.map(|p| p.as_ref()).to_glib_none().0,
|
cancellable.map(AsRef::as_ref).to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
if error.is_null() {
|
if error.is_null() {
|
||||||
@@ -77,7 +77,7 @@ impl Repo {
|
|||||||
self.to_glib_none().0,
|
self.to_glib_none().0,
|
||||||
refspec_prefix.to_glib_none().0,
|
refspec_prefix.to_glib_none().0,
|
||||||
&mut hashtable,
|
&mut hashtable,
|
||||||
cancellable.map(|p| p.as_ref()).to_glib_none().0,
|
cancellable.map(AsRef::as_ref).to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@ impl Repo {
|
|||||||
refspec_prefix.to_glib_none().0,
|
refspec_prefix.to_glib_none().0,
|
||||||
&mut hashtable,
|
&mut hashtable,
|
||||||
flags.to_glib(),
|
flags.to_glib(),
|
||||||
cancellable.map(|p| p.as_ref()).to_glib_none().0,
|
cancellable.map(AsRef::as_ref).to_glib_none().0,
|
||||||
&mut error,
|
&mut error,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user