Skip to content

Commit f94741e

Browse files
committed
Wrap macros in text to avoid CI break
Related to rust-lang/rust#98735
1 parent 85315c7 commit f94741e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mla/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ impl ArchiveWriterState {
381381
}
382382

383383
/// Used to check whether the current state is the one expected
384-
/// ```
384+
/// ```text
385385
/// check_state!(self.state, ArchiveWriterState::XXX)
386386
/// ```
387387
macro_rules! check_state {
@@ -399,7 +399,7 @@ macro_rules! check_state {
399399
}
400400

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

983983
/// Used to update the error state only if it was NoError
984-
/// ```
984+
/// ```text
985985
/// update_error!(error_var, FailSafeReadError::...)
986986
/// ```
987987
macro_rules! update_error {

0 commit comments

Comments
 (0)