Skip to content

Commit

Permalink
Merge pull request #44 from hms5232/hms5232-patch-1
Browse files Browse the repository at this point in the history
docs: update outdated library part in README
  • Loading branch information
lcnr authored Mar 30, 2024
2 parents 180d535 + 03c59fa commit 2b3de3e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ Put the following in your `Cargo.toml`:

```toml
[dependencies]
ferris-says = "0.2"
ferris-says = "0.3.1"
```

or run:

```sh
cargo add ferris-says
```

Then import the crate with:
Expand All @@ -32,7 +38,7 @@ use ferris_says::say;
use std::io::{ stdout, BufWriter };

fn main() {
let out = b"Hello fellow Rustaceans!";
let out = "Hello fellow Rustaceans!";
let width = 24;

let mut writer = BufWriter::new(stdout());
Expand Down

0 comments on commit 2b3de3e

Please sign in to comment.