File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ fn gen_size_hint_method(input: &DeriveInput) -> Result<TokenStream> {
397
397
}
398
398
399
399
#[ inline]
400
- fn try_size_hint( depth: usize ) -> Result <( usize , :: core:: option:: Option <usize >) , arbitrary:: MaxRecursionReached > {
400
+ fn try_size_hint( depth: usize ) -> :: core :: result :: Result <( usize , :: core:: option:: Option <usize >) , arbitrary:: MaxRecursionReached > {
401
401
arbitrary:: size_hint:: try_recursion_guard( depth, |depth| #hint)
402
402
}
403
403
}
@@ -422,7 +422,7 @@ fn gen_size_hint_method(input: &DeriveInput) -> Result<TokenStream> {
422
422
Self :: try_size_hint( depth) . unwrap_or_default( )
423
423
}
424
424
#[ inline]
425
- fn try_size_hint( depth: usize ) -> Result <( usize , :: core:: option:: Option <usize >) , arbitrary:: MaxRecursionReached > {
425
+ fn try_size_hint( depth: usize ) -> :: core :: result :: Result <( usize , :: core:: option:: Option <usize >) , arbitrary:: MaxRecursionReached > {
426
426
Ok ( arbitrary:: size_hint:: and(
427
427
<u32 as arbitrary:: Arbitrary >:: try_size_hint( depth) ?,
428
428
arbitrary:: size_hint:: try_recursion_guard( depth, |depth| {
You can’t perform that action at this time.
0 commit comments