File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ repository = "https://github.com/tomoikey/refined-type"
6
6
readme = " README.md"
7
7
categories = [" accessibility" , " development-tools" ]
8
8
license = " MIT"
9
- version = " 0.4.14 "
9
+ version = " 0.4.15 "
10
10
edition = " 2021"
11
11
12
12
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn main() {
28
28
# Installation
29
29
30
30
``` shell
31
- cargo add refined-type
31
+ cargo add refined_type
32
32
```
33
33
34
34
# Custom Rule
@@ -98,7 +98,7 @@ It is generally effective when you want to narrow down the condition range.
98
98
fn main () {
99
99
type HelloAndWorldRule = And <ContainsHelloRule , ContainsWorldRule >;
100
100
101
- let rule_ok = Refind :: <HelloAndWorldRule >:: new (" Hello! World!" . to_string ());
101
+ let rule_ok = Refined :: <HelloAndWorldRule >:: new (" Hello! World!" . to_string ());
102
102
assert! (rule_ok . is_ok ());
103
103
104
104
let rule_err = Refined :: <HelloAndWorldRule >:: new (" Hello, world!" . to_string ());
You can’t perform that action at this time.
0 commit comments