Skip to content

Commit 720370b

Browse files
authored
Merge pull request #2326 from Marcofann/fix/typos
Fix typographical errors in documentation
2 parents c8b633e + 27e9629 commit 720370b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

contracts/reflect/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ you can customize.
3434

3535
## Create a Repo
3636

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

@@ -50,7 +50,7 @@ git push -u origin main
5050
## CI Support
5151

5252
We have templates for both github actions and Circle CI in the generated
53-
project, so you can get up an running with CI right away. One note is that the
53+
project, so you can get up and running with CI right away. One note is that the
5454
CI runs all `cargo` commands with `--locked` to ensure it uses the exact same
5555
versions as you have locally. This also means you must have an up-to-date
5656
`Cargo.lock` file, which is not auto-generated.

packages/std/src/math/conversion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ macro_rules! try_from_int_to_int {
104104
}
105105
pub(crate) use try_from_int_to_int;
106106

107-
/// Helper macro to implement `TryFrom` for a conversion from a unsigned int to a smaller or
107+
/// Helper macro to implement `TryFrom` for a conversion from an unsigned int to a smaller or
108108
/// equal sized signed int.
109109
/// This is needed because `bnum` does not implement `TryFrom` for all of those conversions.
110110
macro_rules! try_from_uint_to_int {

packages/std/src/msgpack.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ mod tests {
333333
let serialized = to_msgpack_vec(&-24i64).unwrap();
334334
assert_eq!(serialized, [232]);
335335

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

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

0 commit comments

Comments
 (0)