Skip to content

Commit

Permalink
Fix: If no features are enabled, this should still build
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <[email protected]>
  • Loading branch information
matthiasbeyer committed Mar 31, 2022
1 parent d2d3561 commit 6bc8cf1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/file/format/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ impl FileFormat {

#[cfg(feature = "json5")]
FileFormat::Json5 => json5::parse(uri, text),

_ => unreachable!("No features are enabled, this library won't work without features"),
}
}
}
Expand Down

0 comments on commit 6bc8cf1

Please sign in to comment.