Skip to content

Commit

Permalink
Wrap macros in text to avoid CI break
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgalet committed Aug 6, 2022
1 parent 85315c7 commit f94741e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mla/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ impl ArchiveWriterState {
}

/// Used to check whether the current state is the one expected
/// ```
/// ```text
/// check_state!(self.state, ArchiveWriterState::XXX)
/// ```
macro_rules! check_state {
Expand All @@ -399,7 +399,7 @@ macro_rules! check_state {
}

/// Used to check whether the current state is `OpenedFiles`, with the expected file opened
/// ```
/// ```text
/// check_state_file_opened!(self.state, file_id)
/// ```
macro_rules! check_state_file_opened {
Expand Down Expand Up @@ -981,7 +981,7 @@ pub struct ArchiveFailSafeReader<'a, R: 'a + Read> {
const CACHE_SIZE: usize = 8 * 1024 * 1024; // 8MB

/// Used to update the error state only if it was NoError
/// ```
/// ```text
/// update_error!(error_var, FailSafeReadError::...)
/// ```
macro_rules! update_error {
Expand Down

0 comments on commit f94741e

Please sign in to comment.