Updated example after name change.
This commit is contained in:
parent
52c85c61b9
commit
cd0bd88d6e
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ It does this by providing two macros:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use serde::{Serialize, Deserialize};
|
use serde::{Serialize, Deserialize};
|
||||||
use sing::{sing_add_trait, sing_loop};
|
use sing_rs::{sing_add_trait, sing_loop};
|
||||||
|
|
||||||
trait FruitTree {
|
trait FruitTree {
|
||||||
fn shake(&self, shakes: u32) -> Vec<Fruit>;
|
fn shake(&self, shakes: u32) -> Vec<Fruit>;
|
||||||
|
|
Loading…
Reference in a new issue