Skip to content

Commit

Permalink
Fix Grammar and Typographical Errors in Documentation (#86)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md

* Update README.md
  • Loading branch information
SITADRITA1 authored Mar 7, 2025
1 parent 1d1c9fe commit 34ecc10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/log/macro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use pinocchio_log::log
log!("a simple log");
```

To ouput a formatted message:
To output a formatted message:
```rust
use pinocchio_log::log

Expand All @@ -50,7 +50,7 @@ let lamports = 1_000_000_000;
log!("transfer amount (SOL: {:.9}", lamports);
```

For `&str` types, it is possible to specify a maximim length and a truncation strategy:
For `&str` types, it is possible to specify a maximum length and a truncation strategy:
```rust
use pinocchio_log::log

Expand Down

0 comments on commit 34ecc10

Please sign in to comment.