Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
hohav committed Mar 28, 2024
1 parent bf09c8a commit a0c9d61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/io/slippi/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,7 @@ pub fn parse_start<R: Read>(mut r: R, opts: Option<&Opts>) -> Result<ParseState>

/// Parses a single event from `r`.
///
/// Returns the number of bytes read, and a `game::End` if the event was a
/// Game End (which signals the end of the event stream).
/// Returns the event code that was parsed.
pub fn parse_event<R: Read>(mut r: R, state: &mut ParseState, opts: Option<&Opts>) -> Result<u8> {
let mut code = r.read_u8()?;
debug!("Event {:#02x} @{:#x}", code, state.bytes_read);
Expand Down

0 comments on commit a0c9d61

Please sign in to comment.