Skip to content

Commit

Permalink
Fix the example in the send_batch_delay doc
Browse files Browse the repository at this point in the history
  • Loading branch information
l-7-l authored Jan 27, 2025
1 parent d83d888 commit 2006fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgmq-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ impl PGMQueue {
/// MyMessage {foo: "bar3".to_owned()},
/// ];
///
/// let struct_message_batch_ids = queue.send_batch(&my_queue, &struct_message_batch, 1000)
/// let struct_message_batch_ids = queue.send_batch_delay(&my_queue, &struct_message_batch, 1000)
/// .await
/// .expect("Failed to enqueue messages");
/// println!("Struct Message ids: {:?}", struct_message_batch_ids);
Expand Down

0 comments on commit 2006fc9

Please sign in to comment.