Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
J-F-Liu committed Feb 10, 2017
1 parent 95178af commit 96dc23e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ And the code is easier to debug than macros.
|list(p,s) |Match list of *p*, separated by *s*.|
|one_of(set) |Success when current input symbol is one of the set.|
|none_of(set)|Success when current input symbol is none of the set.|
|range(r) |Success when the range contains current input symbol.|
|is_a(predicate) |Success when predicate return true on current input symbol.|
|not_a(predicate)|Success when predicate return false on current input symbol.|
|take(n)|Read *n* symbols.|
|skip(n)|Skip *n* symbols.|
|call(pf)|Call a parser factory, can used to create recursive parsers.|
|comb(p)|Wrap parser as a combinator.|

|Parser Combinators|Description|
| --- | --- |
Expand Down
2 changes: 2 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ format_strings = false
reorder_imports = true
hard_tabs = true
fn_args_layout = "Block"
max_width = 200
ideal_width = 160

0 comments on commit 96dc23e

Please sign in to comment.