summaryrefslogtreecommitdiffstats
path: root/vendor/winnow/src/_topic/arithmetic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/winnow/src/_topic/arithmetic.rs')
-rw-r--r--vendor/winnow/src/_topic/arithmetic.rs13
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")]
+//! ```