File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 79
79
/// # use nom::{named, tag};
80
80
/// named!(my_function<&[u8], &[u8]>, tag!("abcd"));
81
81
/// ```
82
- /// This one will have &[u8] as input type, &[u8] as output type:
82
+ /// This one will have ` &[u8]` as input type, ` &[u8]` as output type:
83
83
/// ```
84
84
/// # use nom::{named, tag};
85
85
/// named!(my_function, tag!("abcd"));
86
86
/// ```
87
- /// Will use &[u8] as output type:
87
+ /// Will use ` &[u8]` as output type:
88
88
/// ```
89
89
/// # use nom::{named, tag};
90
90
/// named!(my_function<&[u8]>, tag!("abcd"));
@@ -134,7 +134,7 @@ macro_rules! named (
134
134
/// Makes a function from a parser combination with arguments.
135
135
///
136
136
/// ```ignore
137
- /// //takes `&[u8]` as input
137
+ /// //takes [ `&[u8]`] as input
138
138
/// named_args!(tagged(open_tag: &[u8], close_tag: &[u8])<&str>,
139
139
/// delimited!(tag!(open_tag), map_res!(take!(4), str::from_utf8), tag!(close_tag))
140
140
/// );
You can’t perform that action at this time.
0 commit comments