Updated example after name change.

This commit is contained in:
Thelie 2022-03-27 17:58:24 +02:00
parent 52c85c61b9
commit cd0bd88d6e

View file

@ -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>;