Skip to content

Commit

Permalink
Merge branch 'main' into minijinja-cli-env
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored Oct 17, 2024
2 parents f340459 + cd2063c commit f2fe185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minijinja/src/value/argtypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ macro_rules! tuple_impls {
if values.get(idx).is_some() {
Err(Error::from(ErrorKind::TooManyArguments))
} else {
// SAFETY: this is safe because both no batter what `rest_first` is set to
// either way the variable is set.
// SAFETY: this is safe because both no matter what `rest_first` is set to
// the rest_name variable is set at this point.
Ok(($($name,)* unsafe { $rest_name.unwrap_unchecked() },))
}
}
Expand Down

0 comments on commit f2fe185

Please sign in to comment.