debian/rust-vendor/winnow/src/_topic/arithmetic.rs
raw| 1 | //! # Arithmetic |
| 2 | //! |
| 3 | //! This parses arithmetic expressions and directly evaluates them. |
| 4 | //! |
| 5 | //! See also [C-style Expressions][crate::_topic::language#c-style-expressions], |
| 6 | //! for a more complex example. |
| 7 | //! |
| 8 | //! ```rust |
| 9 | #![doc = include_str!("../../examples/arithmetic/parser.rs")] |
| 10 | //! ``` |