Skip to content

Commit

Permalink
removing async_trait from non async trait in connection.rs (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjud authored Jul 17, 2022
1 parent a0a2492 commit 3d40960
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/database/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ pub trait ConnectionTrait: Sync {
}

/// Stream query results
#[async_trait::async_trait]
pub trait StreamTrait<'a>: Send + Sync {
/// Create a stream for the [QueryResult]
type Stream: Stream<Item = Result<QueryResult, DbErr>> + Send;
Expand Down

0 comments on commit 3d40960

Please sign in to comment.