From a8dfc859c283f27c31e88fa9e0658df1c9f1c24c Mon Sep 17 00:00:00 2001 From: Tyler Neely Date: Wed, 11 Aug 2021 17:20:54 +0200 Subject: [PATCH] Minor documentation fix --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- src/jetstream_types.rs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93e1bd41e..6464013ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.12.1 + +## Improvements + +- #196 minor documentation fix. + # 0.12.0 ## Breaking Changes diff --git a/Cargo.toml b/Cargo.toml index 137a3f873..0820011f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nats" -version = "0.12.0" +version = "0.12.1" description = "A Rust NATS client" authors = ["Derek Collison ", "Tyler Neely ", "Stjepan Glavina "] edition = "2018" diff --git a/src/jetstream_types.rs b/src/jetstream_types.rs index 14fbf7b28..066649c1e 100644 --- a/src/jetstream_types.rs +++ b/src/jetstream_types.rs @@ -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,