mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
clippy fixes
This commit is contained in:
parent
44c560713a
commit
a561cbaf64
12 changed files with 345 additions and 398 deletions
|
|
@ -161,6 +161,7 @@ impl PacketEntity {
|
|||
if self.update_type == UpdateType::Enter {
|
||||
let mut found_props = HashSet::<SendPropIdentifier>::new();
|
||||
let props = self.props.iter().cloned();
|
||||
#[allow(clippy::unnecessary_to_owned)]
|
||||
let baseline_props = self
|
||||
.get_baseline_props(parser_state)
|
||||
.into_owned()
|
||||
|
|
|
|||
|
|
@ -428,8 +428,8 @@ pub fn parse_string_table_update<'a>(
|
|||
Ok(entries.into_entries())
|
||||
}
|
||||
|
||||
pub fn write_string_table_update<'a>(
|
||||
entries: &[(u16, StringTableEntry<'a>)],
|
||||
pub fn write_string_table_update(
|
||||
entries: &[(u16, StringTableEntry)],
|
||||
stream: &mut BitWriteStream<LittleEndian>,
|
||||
table_meta: &StringTableMeta,
|
||||
) -> ReadResult<()> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue