Skip to content

Commit

Permalink
Add link to GAT PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 2, 2023
1 parent de58088 commit 1a5dbc7
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 1a5dbc7

Please sign in to comment.