Skip to content

Commit

Permalink
fix elided warning on Rust upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
vaivaswatha committed Dec 16, 2024
1 parent 6d0b0c0 commit b323bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub struct State<'a> {

impl<'a> State<'a> {
/// Create a new empty [State].
pub fn new(ctx: &'a mut Context, src: location::Source) -> State {
pub fn new(ctx: &'a mut Context, src: location::Source) -> State<'a> {
State {
ctx,
name_tracker: NameTracker::default(),
Expand Down

0 comments on commit b323bb9

Please sign in to comment.