mirror of
https://codeberg.org/demostf/parser.git
synced 2026-11-30 02:30:46 +01:00
borrowed data
This commit is contained in:
parent
fed1da5cb0
commit
a4ddd586dd
27 changed files with 181 additions and 176 deletions
|
|
@ -212,7 +212,7 @@ pub struct DataTablePacket {
|
|||
pub server_classes: Vec<ServerClass>,
|
||||
}
|
||||
|
||||
impl Parse for DataTablePacket {
|
||||
impl Parse<'_> for DataTablePacket {
|
||||
fn parse(stream: &mut Stream, state: &ParserState) -> Result<Self> {
|
||||
let tick = stream.read()?;
|
||||
let len = stream.read_int::<usize>(32)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue