Skip to content

Commit

Permalink
lint: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
geofmureithi committed Jul 9, 2024
1 parent 6d671c5 commit 2f14fc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/apalis-core/src/mq/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ pub trait MessageQueue<Message>: Backend<Request<Message>> {
type Error;

/// Enqueues a message to the queue.
fn enqueue(&mut self, message: Message) -> impl Future<Output = Result<(), Self::Error>> + Send;
fn enqueue(&mut self, message: Message)
-> impl Future<Output = Result<(), Self::Error>> + Send;

/// Attempts to dequeue a message from the queue.
/// Returns `None` if the queue is empty.
Expand Down

0 comments on commit 2f14fc6

Please sign in to comment.