Skip to content

Commit 1eaedf8

Browse files
committed
Fixed typos.
1 parent 7c2e6c1 commit 1eaedf8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

swimos_utilities/swimos_encoding/src/bytes_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::fmt::{Debug, Display, Formatter};
1616

1717
use bytes::Bytes;
1818

19-
/// As string based on a sub-range within a [`Bytes`] buffer. The bytes are guaranteed to contain valid
19+
/// A string based on a sub-range within a [`Bytes`] buffer. The bytes are guaranteed to contain valid
2020
/// UTF-8. The purpose of this type is to allow a [`tokio_util::codec::Decoder`]s to return a string from
2121
/// its input buffer without performing a copy or an allocation and without a lifetime dependency on the
2222
/// buffer.

swimos_utilities/swimos_encoding/src/codec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl Decoder for WithLengthBytesCodec {
5858
type DecoderResult<D> = Result<Option<<D as Decoder>::Item>, <D as Decoder>::Error>;
5959

6060
/// Feed a bounded number of bytes into a [`Decoder`]. If the input buffer contains more bytes than
61-
/// the limit, the decoder is passed the limited prefix and [`Decoder::decode_eof`] is called, rather tha
61+
/// the limit, the decoder is passed the limited prefix and [`Decoder::decode_eof`] is called, rather than
6262
/// [`Decoder::decode`]. This is useful when [`Decoder`]s are composed and some subset of the input of
6363
/// one encoder is delegated to another.
6464
///

swimos_utilities/swimos_route/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//!
2121
//! This crate contains:
2222
//!
23-
//! - A type to represent a [route URI](`RouteUri``).
23+
//! - A type to represent a [route URI](`RouteUri`).
2424
//! - [Route patterns](`RoutePattern`) that can be used to extract components from the path of a
2525
//! route URI.
2626

swimos_utilities/swimos_time/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
//! # Time Utility
15+
//! # Time Utilities
1616
//!
1717
//! Utility types and functions for working with timestamps and durations.
1818

0 commit comments

Comments
 (0)