Skip to content

Commit

Permalink
rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
theaddonn committed Aug 6, 2024
1 parent 9a24140 commit 9fba929
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tokeniser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ impl State<char, Token, TokeniseError> for AccessTokenState {
> {
let (access, new_state, action) = self.state.handle(c)?;

if let Some(access) = access { self.accesses.push(access) }
if let Some(access) = access {
self.accesses.push(access)
}

if let Some(new_state) = new_state {
self.state = new_state;
Expand Down

0 comments on commit 9fba929

Please sign in to comment.