Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades committed Feb 3, 2024
1 parent 5748683 commit 046cee9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/endpoints/feed_items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ pub(crate) mod basic {
}
}

impl<'a> IntoFuture for Request<'a> {
impl<'a, C> IntoFuture for Request<'a, C>
where
C: client::Inner,
{
type Output = Result<()>;

type IntoFuture = impl Future<Output = Self::Output>;
Expand Down
5 changes: 4 additions & 1 deletion src/endpoints/transactions/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ where
}
}

impl<'a> IntoFuture for Request<'a> {
impl<'a, C> IntoFuture for Request<'a, C>
where
C: client::Inner,
{
type Output = Result<Transaction>;

type IntoFuture = impl Future<Output = Self::Output>;
Expand Down
5 changes: 4 additions & 1 deletion src/endpoints/transactions/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ where
}
}

impl<'a> IntoFuture for Request<'a> {
impl<'a, C> IntoFuture for Request<'a, C>
where
C: client::Inner,
{
type Output = Result<Vec<Transaction>>;

type IntoFuture = impl Future<Output = Self::Output>;
Expand Down

0 comments on commit 046cee9

Please sign in to comment.