Fix typos.

This commit is contained in:
Jimmy Cuadra 2019-06-02 04:13:08 -07:00
parent 5930e30d96
commit 92fcb5181f
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@
//!
//! Although any Rust type that implements `Event`, `RoomEvent`, or `StateEvent` can serve as a
//! Matrix event type, ruma_events also includes a few convenience types for representing events
//! that are not convered by the spec and not otherwise known by the application.
//! that are not covered by the spec and not otherwise known by the application.
//! `CustomEvent`, `CustomRoomEvent`, and `CustomStateEvent` are simple implementations of their
//! respective event traits whose `content` field is simply a `serde_json::Value` value, which
//! represents arbitrary JSON.

View File

@ -1,7 +1,7 @@
//! "Stripped-down" versions of the core state events.
//!
//! Each "stripped" event includes only the `content`, `type`, and `state_key` fields of its full
//! version. These stripped types are useful for APIs where the a is providing the content of a
//! version. These stripped types are useful for APIs where the user is providing the content of a
//! state event to be created, when the other fields can be inferred from a larger context, or where
//! the other fields are otherwise inapplicable.