Skip to content

Commit

Permalink
Elide rendering lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Nov 10, 2024
1 parent 5770011 commit 9217038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpleinterpolation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ pub enum RenderError<'a> {
UnknownVariables(Vec<&'a str>),
}

impl<'a> std::fmt::Display for RenderError<'a> {
impl std::fmt::Display for RenderError<'_> {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
match self {
Self::UnknownVariables(vars) => {
Expand Down

0 comments on commit 9217038

Please sign in to comment.