From 1b88a4c2f738d6c236df42c1b9fa4478e302abc5 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 19 Nov 2021 20:27:16 +0100 Subject: small doc typo fixes --- src/event.rs | 2 +- src/lib.rs | 2 +- src/raw/types.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event.rs b/src/event.rs index 0ba56ab..b6caa5d 100644 --- a/src/event.rs +++ b/src/event.rs @@ -580,7 +580,7 @@ pub enum WeaponSet { Land1, /// An unknown weapon set. /// - /// This can be caused bundles or anything else that uses the "weapon swap" + /// This can be caused by bundles or anything else that uses the "weapon swap" /// event but is not a normal weapon set. Unknown(u8), } diff --git a/src/lib.rs b/src/lib.rs index 366739c..3677871 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,7 @@ //! # Crate Structure //! //! The crate consists of two main parts: The [`raw`][raw] parser, which is used to read structured -//! data from binary input streams, and the higher-level abstrations provided in the root and +//! data from binary input streams, and the higher-level abstractions provided in the root and //! [`event`][event] submodules. //! //! Additionally, there are some defintions (such as IDs for various game items) in the diff --git a/src/raw/types.rs b/src/raw/types.rs index 6339ed8..ce22f5f 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -382,7 +382,7 @@ pub struct Agent { pub addr: u64, /// Agent profession id. pub prof: u32, - /// Agent elite specialisation. + /// Agent elite specialization. pub is_elite: u32, /// Toughnes. pub toughness: i16, -- cgit v1.2.3