Skip to content

Commit

Permalink
Merge pull request #2326 from Marcofann/fix/typos
Browse files Browse the repository at this point in the history
Fix typographical errors in documentation
  • Loading branch information
chipshort authored Jan 6, 2025
2 parents c8b633e + 27e9629 commit 720370b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions contracts/reflect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ you can customize.

## Create a Repo

After generating, you have a initialized local git repo, but no commits, and no
After generating, you have an initialized local git repo, but no commits, and no
remote. Go to a server (eg. github) and create a new upstream repo (called
`YOUR-GIT-URL` below). Then run the following:

Expand All @@ -50,7 +50,7 @@ git push -u origin main
## CI Support

We have templates for both github actions and Circle CI in the generated
project, so you can get up an running with CI right away. One note is that the
project, so you can get up and running with CI right away. One note is that the
CI runs all `cargo` commands with `--locked` to ensure it uses the exact same
versions as you have locally. This also means you must have an up-to-date
`Cargo.lock` file, which is not auto-generated.
Expand Down
2 changes: 1 addition & 1 deletion packages/std/src/math/conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ macro_rules! try_from_int_to_int {
}
pub(crate) use try_from_int_to_int;

/// Helper macro to implement `TryFrom` for a conversion from a unsigned int to a smaller or
/// Helper macro to implement `TryFrom` for a conversion from an unsigned int to a smaller or
/// equal sized signed int.
/// This is needed because `bnum` does not implement `TryFrom` for all of those conversions.
macro_rules! try_from_uint_to_int {
Expand Down
4 changes: 2 additions & 2 deletions packages/std/src/msgpack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ mod tests {
let serialized = to_msgpack_vec(&-24i64).unwrap();
assert_eq!(serialized, [232]);

// "uint 8 stores a 8-bit unsigned integer"
// "uint 8 stores an 8-bit unsigned integer"
let serialized = to_msgpack_vec(&128u32).unwrap();
assert_eq!(serialized, [0xcc, 128]);
let serialized = to_msgpack_vec(&237u32).unwrap();
Expand All @@ -353,7 +353,7 @@ mod tests {
let serialized = to_msgpack_vec(&u64::MAX).unwrap();
assert_eq!(serialized, [0xcf, 255, 255, 255, 255, 255, 255, 255, 255]);

// "int 8 stores a 8-bit signed integer"
// "int 8 stores an 8-bit signed integer"
let serialized = to_msgpack_vec(&i8::MIN).unwrap();
assert_eq!(serialized, [0xd0, 128]);
let serialized = to_msgpack_vec(&-111i8).unwrap();
Expand Down

0 comments on commit 720370b

Please sign in to comment.