mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Merge pull request #450 from mikeyhew/remove-fmt-lifetime-warning
Remove warning about hidden lifetime parameter
This commit is contained in:
commit
4989a9d670
@ -74,7 +74,7 @@ pub fn compile<W: Write>(
|
||||
rust!(out, "impl<'a> {}fmt::Display for Token<'a> {{", prefix);
|
||||
rust!(
|
||||
out,
|
||||
"fn fmt(&self, formatter: &mut {}fmt::Formatter) -> Result<(), {}fmt::Error> {{",
|
||||
"fn fmt<'f>(&self, formatter: &mut {}fmt::Formatter<'f>) -> Result<(), {}fmt::Error> {{",
|
||||
prefix,
|
||||
prefix
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user