commit ba8efd979c4ecf294847ddebb3aea4bdb071d843
parent ea072ce45022c14fd5c125d0cafc9f22f9a14449
Author: Joël Lupien (Jojolepro) <jojolepro@jojolepro.com>
Date: Mon, 25 May 2020 08:23:14 -0400
changed rs to rust
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -15,7 +15,7 @@ f(x) = {
}
```
Expressed as:
-```rs
+```rust
let p = PartialFunction::new()
.with(0.0, 5.0, Box::new(|x| x ))
.with(5.0, 10.0, Box::new(|x| x * 2))
@@ -33,7 +33,7 @@ f(x) = {
}
```
Expressed as:
-```rs
+```rust
let f = LowerPartialFunction::new()
.with(0.0, Box::new(|x| x ))
.with(5.0, Box::new(|x| x * 2))