Skip to content

Commit

Permalink
Phrasing consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Dec 11, 2023
1 parent 85573c8 commit bd56dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js_collections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl<T> std::iter::ExactSizeIterator for OwnedArrayIter<T> where T: JsCollection
/// Represents a reference to an Object ID string in JavaScript memory, typed
/// according to the object type Rust expects for the object after resolving.
///
/// If a value stored in Rust memory is preferred, use [`ObjectId`]; the
/// Use [`ObjectId`] if a value stored in Rust memory is preferred; the
/// JavaScript representation can be harder to work with in Rust code due to
/// lack of visibility on the underlying string and lack of most trait
/// implementations, and consumes more memory, but is faster to resolve and may
Expand Down
2 changes: 1 addition & 1 deletion src/local/object_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub use raw::*;
/// Represents an Object ID and a type that the ID points to, stored in Rust
/// memory.
///
/// If a reference stored in JavaScript memory is preferred, use [`JsObjectId`].
/// Use [`JsObjectId`] If a reference stored in JavaScript memory is preferred.
///
/// Each object id in screeps is represented by an ID of up to 24 hexidemical
/// characters, which cannot change. This implementation takes advantage of that
Expand Down

0 comments on commit bd56dbc

Please sign in to comment.