1
Fork 0

Adjust span of fn arguments

This commit is contained in:
Michael Goulet 2022-08-12 15:21:39 +00:00
parent 569788e47e
commit 9b0edd099d
5 changed files with 15 additions and 21 deletions

View file

@ -2289,7 +2289,7 @@ impl<'a> Parser<'a> {
}
};
let span = lo.until(this.token.span);
let span = lo.to(this.prev_token.span);
Ok((
Param {