Skip to content

Commit

Permalink
Clippy feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
spacejam committed Aug 11, 2021
1 parent 5d1e28f commit f1a6d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jetstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ impl Consumer {

let push_subscriber =
if let Some(ref deliver_subject) = cfg.deliver_subject {
Some(nc.subscribe(&deliver_subject)?)
Some(nc.subscribe(deliver_subject)?)
} else {
None
};
Expand Down

0 comments on commit f1a6d9c

Please sign in to comment.