fix doc tests

This commit is contained in:
BenjaminBrienen 2025-02-27 00:59:13 +01:00
parent bd7375a58f
commit b19ef6b046
37 changed files with 75 additions and 61 deletions

View file

@ -36,7 +36,7 @@ impl Input {
/// the *previous* token was joint, with mbe, you know whether the *current*
/// one is joint. This API allows for styles of usage:
///
/// ```
/// ```ignore
/// // In text:
/// tokens.was_joint(prev_joint);
/// tokens.push(curr);

View file

@ -59,7 +59,7 @@ pub use crate::{
///
/// That is, for something like
///
/// ```
/// ```ignore
/// quick_check! {
/// fn prop() {}
/// }

View file

@ -16,8 +16,9 @@ pub struct Output {
/// 32-bit encoding of events. If LSB is zero, then that's an index into the
/// error vector. Otherwise, it's one of the thee other variants, with data encoded as
///
/// |16 bit kind|8 bit n_input_tokens|4 bit tag|4 bit leftover|
///
/// ```text
/// |16 bit kind|8 bit n_input_tokens|4 bit tag|4 bit leftover|
/// ``````
event: Vec<u32>,
error: Vec<String>,
}