aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-11-19 20:27:16 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-11-19 20:27:16 +0100
commit1b88a4c2f738d6c236df42c1b9fa4478e302abc5 (patch)
tree7fb8a1237662f22234451c1ee0a5a94fe1df4718 /src
parent2ae32528d9f6ffde5c27d923cf51e59ed6cef936 (diff)
downloadevtclib-1b88a4c2f738d6c236df42c1b9fa4478e302abc5.tar.gz
evtclib-1b88a4c2f738d6c236df42c1b9fa4478e302abc5.tar.bz2
evtclib-1b88a4c2f738d6c236df42c1b9fa4478e302abc5.zip
small doc typo fixes
Diffstat (limited to 'src')
-rw-r--r--src/event.rs2
-rw-r--r--src/lib.rs2
-rw-r--r--src/raw/types.rs2
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,