Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Mar 5, 2021
1 parent 0afe6e6 commit 5a5ca11
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ extern crate futures;
extern crate log;
#[macro_use]
extern crate nom;
#[macro_use]
extern crate prost_derive;

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl BatchedMessage {
pub mod proto {
include!(concat!(env!("OUT_DIR"), "/pulsar.proto.rs"));

//trait implermentations used in Consumer::unacked_messages
//trait implementations used in Consumer::unacked_messages
impl std::cmp::Eq for MessageIdData {}

impl std::hash::Hash for MessageIdData {
Expand Down
2 changes: 1 addition & 1 deletion src/service_discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::message::proto::{
CommandLookupTopicResponse,
};
use futures::{future::try_join_all, FutureExt};
use std::{sync::Arc, time::Duration};
use std::sync::Arc;
use url::Url;

/// Look up broker addresses for topics and partitioned topics
Expand Down

0 comments on commit 5a5ca11

Please sign in to comment.