Skip to content

Commit 568d845

Browse files
committed
update version
1 parent ad4e6bf commit 568d845

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repository = "https://github.com/tomoikey/refined-type"
66
readme = "README.md"
77
categories = ["accessibility", "development-tools"]
88
license = "MIT"
9-
version = "0.4.14"
9+
version = "0.4.15"
1010
edition = "2021"
1111

1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn main() {
2828
# Installation
2929

3030
```shell
31-
cargo add refined-type
31+
cargo add refined_type
3232
```
3333

3434
# Custom Rule
@@ -98,7 +98,7 @@ It is generally effective when you want to narrow down the condition range.
9898
fn main() {
9999
type HelloAndWorldRule = And<ContainsHelloRule, ContainsWorldRule>;
100100

101-
let rule_ok = Refind::<HelloAndWorldRule>::new("Hello! World!".to_string());
101+
let rule_ok = Refined::<HelloAndWorldRule>::new("Hello! World!".to_string());
102102
assert!(rule_ok.is_ok());
103103

104104
let rule_err = Refined::<HelloAndWorldRule>::new("Hello, world!".to_string());

0 commit comments

Comments
 (0)