diff options
Diffstat (limited to 'vendor/winnow/src/_topic/arithmetic.rs')
-rw-r--r-- | vendor/winnow/src/_topic/arithmetic.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/winnow/src/_topic/arithmetic.rs b/vendor/winnow/src/_topic/arithmetic.rs new file mode 100644 index 000000000..1a6eddcc4 --- /dev/null +++ b/vendor/winnow/src/_topic/arithmetic.rs @@ -0,0 +1,13 @@ +//! # Arithmetic +//! +//! ## Direct evaluation +//! +//! ```rust +#![doc = include_str!("../../examples/arithmetic/parser.rs")] +//! ``` +//! +//! ## Parse to AST +//! +//! ```rust +#![doc = include_str!("../../examples/arithmetic/parser_ast.rs")] +//! ``` |