Skip to content

Commit

Permalink
Merge pull request #196 from nats-io/tyler_doc_fix
Browse files Browse the repository at this point in the history
Minor documentation fix
  • Loading branch information
spacejam committed Aug 11, 2021
2 parents 29535f7 + a8dfc85 commit b55c453
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.12.1

## Improvements

- #196 minor documentation fix.

# 0.12.0

## Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nats"
version = "0.12.0"
version = "0.12.1"
description = "A Rust NATS client"
authors = ["Derek Collison <derek@nats.io>", "Tyler Neely <tyler@nats.io>", "Stjepan Glavina <stjepan@nats.io>"]
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion src/jetstream_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub struct StreamConfig {
pub retention: RetentionPolicy,
/// How many Consumers can be defined for a given Stream, -1 for unlimited
pub max_consumers: isize,
/// Maximum age of any message in the stream, expressed in microseconds
/// Maximum age of any message in the stream, expressed in nanoseconds
pub max_age: isize,
/// The largest message that will be accepted by the Stream
pub max_msg_size: Option<i32>,
Expand Down

0 comments on commit b55c453

Please sign in to comment.