1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

minor cleanup

This commit is contained in:
Robin Appelman 2019-08-11 13:25:47 +02:00
commit 8442c5e385
4 changed files with 34 additions and 28 deletions

View file

@ -186,7 +186,9 @@ fn parse_string_table_list(
for _ in 0..entry_count {
if !stream.read::<bool>()? {
return Err(ParseError::InvalidDemo("there should be no holes when reading CreateStringTable message".to_string()));
return Err(ParseError::InvalidDemo(
"there should be no holes when reading CreateStringTable message".to_string(),
));
};
let entry = read_table_entry(stream, table_meta, &history)?;