Skip to content

Commit

Permalink
elide lifetimes to get ci check to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
Omega359 committed Dec 12, 2024
1 parent b7b5a55 commit 87737cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqllogictest/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ pub struct TestErrorDisplay<'a> {
colorize: bool,
}

impl<'a> Display for TestErrorDisplay<'a> {
impl Display for TestErrorDisplay<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(
f,
Expand Down Expand Up @@ -189,7 +189,7 @@ pub struct ParallelTestErrorDisplay<'a> {
colorize: bool,
}

impl<'a> Display for ParallelTestErrorDisplay<'a> {
impl Display for ParallelTestErrorDisplay<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
writeln!(f, "parallel test failed")?;
write!(f, "Caused by:")?;
Expand Down Expand Up @@ -332,7 +332,7 @@ pub struct TestErrorKindDisplay<'a> {
colorize: bool,
}

impl<'a> Display for TestErrorKindDisplay<'a> {
impl Display for TestErrorKindDisplay<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
if !self.colorize {
return write!(f, "{}", self.error);
Expand Down

0 comments on commit 87737cb

Please sign in to comment.