Skip to content

Commit

Permalink
Merge pull request #254 from dtolnay/gatlink
Browse files Browse the repository at this point in the history
Add link to GAT PR
  • Loading branch information
dtolnay authored Sep 2, 2023
2 parents de58088 + 1a5dbc7 commit 490f0ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ use std::path::{self, Path, PathBuf};

#[doc(hidden)]
pub trait AsDisplay<'a> {
// TODO: convert to generic associated type.
// https://github.com/dtolnay/thiserror/pull/253
type Target: Display;

fn as_display(&'a self) -> Self::Target;
Expand Down

0 comments on commit 490f0ca

Please sign in to comment.