Skip to content

Commit 579adaf

Browse files
committed
fix: Use gix-objet::Find error type.
1 parent 10ab6c0 commit 579adaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gix-filter/src/pipeline/convert.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ pub mod configuration {
2222
///
2323
pub mod to_git {
2424
/// A function that fills `buf` `fn(&mut buf)` with the data stored in the index of the file that should be converted.
25-
pub type IndexObjectFn<'a> =
26-
dyn FnMut(&mut Vec<u8>) -> Result<Option<()>, Box<dyn std::error::Error + Send + Sync>> + 'a;
25+
pub type IndexObjectFn<'a> = dyn FnMut(&mut Vec<u8>) -> Result<Option<()>, gix_object::find::Error> + 'a;
2726

2827
/// The error returned by [Pipeline::convert_to_git()][super::Pipeline::convert_to_git()].
2928
#[derive(Debug, thiserror::Error)]

0 commit comments

Comments
 (0)