Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed Jan 28, 2025
1 parent 3f8aecc commit 2c8064d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion async-nats/src/jetstream/consumer/push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl IntoConsumerConfig for OrderedConfig {
}

impl Consumer<OrderedConfig> {
pub async fn messages<'a>(self) -> Result<Ordered, StreamError> {
pub async fn messages(self) -> Result<Ordered, StreamError> {
let subscriber = self
.context
.client
Expand Down
2 changes: 1 addition & 1 deletion async-nats/src/jetstream/object_store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ impl ObjectStore {
/// # Ok(())
/// # }
/// ```
pub async fn add_link<'a, T, O>(&self, name: T, object: O) -> Result<ObjectInfo, AddLinkError>
pub async fn add_link<T, O>(&self, name: T, object: O) -> Result<ObjectInfo, AddLinkError>
where
T: ToString,
O: AsObjectInfo,
Expand Down

0 comments on commit 2c8064d

Please sign in to comment.