aboutsummaryrefslogtreecommitdiff
path: root/src/_topic/language.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/_topic/language.rs')
-rw-r--r--src/_topic/language.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_topic/language.rs b/src/_topic/language.rs
index 0cebc99..c6a713a 100644
--- a/src/_topic/language.rs
+++ b/src/_topic/language.rs
@@ -82,13 +82,13 @@
//! use winnow::prelude::*;
//! use winnow::{
//! error::ParserError,
-//! token::{tag, take_until0},
+//! token::{tag, take_until},
//! };
//!
//! pub fn pinline_comment<'a, E: ParserError<&'a str>>(i: &mut &'a str) -> PResult<(), E> {
//! (
//! "(*",
-//! take_until0("*)"),
+//! take_until(0.., "*)"),
//! "*)"
//! )
//! .void() // Output is thrown away.