Skip to content

Commit

Permalink
Merge pull request #273 from epage/links
Browse files Browse the repository at this point in the history
docs(topic): Link out to relevant builtin parsers
  • Loading branch information
epage authored Jul 3, 2023
2 parents 475be6d + 17f525f commit 6747a8d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/_topic/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@
#![doc = include_str!("../../examples/string/parser.rs")]
//! ```
//!
//! See also [`escaped`] and [`escaped_transform`].
//!
//! ### Integers
//!
//! The following recipes all return string slices rather than integer values. How to obtain an
Expand Down Expand Up @@ -194,6 +196,8 @@
//! }
//! ```
//!
//! See also [`hex_uint`]
//!
//! #### Octal
//!
//! ```rust
Expand Down Expand Up @@ -258,6 +262,8 @@
//! }
//! ```
//!
//! See also [`dec_uint`] and [`dec_int`]
//!
//! ### Floating Point Numbers
//!
//! The following is adapted from [the Python parser by Valentin Lorentz](https://github.com/ProgVal/rust-python-parser/blob/master/src/numbers.rs).
Expand Down Expand Up @@ -313,3 +319,13 @@
//! .parse_next(input)
//! }
//! ```
//!
//! See also [`float`]

#![allow(unused_imports)]
use crate::ascii::dec_int;
use crate::ascii::dec_uint;
use crate::ascii::escaped;
use crate::ascii::escaped_transform;
use crate::ascii::float;
use crate::ascii::hex_uint;

0 comments on commit 6747a8d

Please sign in to comment.