Skip to content

Commit 778ad30

Browse files
committed
Release 2.0.0
1 parent 7f08f66 commit 778ad30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pom"
3-
version = "2.0.0-beta"
3+
version = "2.0.0"
44
authors = ["Junfeng Liu <[email protected]>"]
55
homepage = "https://github.com/J-F-Liu/pom"
66
documentation = "https://docs.rs/crate/pom/"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ And the code is easier to debug than macros.
5555
| p - q | Match p and q, if both success return result of p. |
5656
| p * q | Match p and q, if both success return result of q. |
5757
| p >> q | Parse p and get result P, then parse and return result of q(P). |
58-
| -p | Success when p success, doen't consume input. |
59-
| !p | Success when p fail, doen't consume input. |
58+
| -p | Success when p success, doesn't consume input. |
59+
| !p | Success when p fail, doesn't consume input. |
6060
|p.opt()|Make parser optional. Returns an `Option`.|
6161
|p.repeat(m..n)| `p.repeat(0..)` repeat p zero or more times<br>`p.repeat(1..)` repeat p one or more times<br>`p.repeat(1..4)` match p at least 1 and at most 3 times<br>`p.repeat(5)` repeat p exactly 5 times|
6262
|p.map(f)|Convert parser result to desired value.|

0 commit comments

Comments
 (0)