Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #22

Merged
merged 1 commit into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,6 @@ jobs:
rustup component add clippy

- name: Check lint
run: cargo doc --all-features
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --workspace --all-features
6 changes: 3 additions & 3 deletions memphis/src/consumer/memphis_consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::models::request::DestroyConsumerRequest;
use crate::station::MemphisStation;

/// The MemphisConsumer is used to consume messages from a Memphis Station.
/// See [MemphisClient::create_consumer] for more information.
/// See [MemphisStation::create_consumer] for more information.
pub struct MemphisConsumer {
station: MemphisStation,
options: MemphisConsumerOptions,
Expand All @@ -30,7 +30,7 @@ pub struct MemphisConsumer {
impl MemphisConsumer {
/// Creates a new MemphisConsumer.
/// This will also start pinging the consumer, to ensure its availability.
/// See [MemphisClient::create_consumer] for more information.
/// See [MemphisStation::create_consumer] for more information.
///
/// # Arguments
/// * `station` - The MemphisStation to use.
Expand Down Expand Up @@ -196,7 +196,7 @@ impl MemphisConsumer {
/// This is to ensure that messages are not duplicated.
///
/// # Returns
/// A [Receiver] that will receive the DLS messages.
/// A Receiver that will receive the DLS messages.
pub async fn consume_dls(&self) -> Result<UnboundedReceiver<Arc<Message>>, Error> {
//TODO: Remove Arc once async_nats is updated to >=0.30.0 (https://github.com/nats-io/nats.rs/pull/975)
let (s, r) = unbounded_channel::<Arc<Message>>();
Expand Down