Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianR committed Oct 23, 2019
1 parent 6860da0 commit c577221
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lordeckcodes = "0.1"
## Examples
Obtain a deck from the provided code:

```
```rust
use lordeckcodes::Encoder;

let deck = Encoder::deck_from_code(
Expand All @@ -27,7 +27,7 @@ lordeckcodes = "0.1"
```

Generate a code from the provided deck:
```
```rust
use lordeckcodes::Encoder;
use lordeckcodes::CardCodeAndCount;
use lordeckcodes::Deck;
Expand All @@ -51,4 +51,4 @@ lordeckcodes = "0.1"

let code = Encoder::code_from_deck(&deck);
assert!(code.is_ok());
```
```

0 comments on commit c577221

Please sign in to comment.