We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de58088 commit 1a5dbc7Copy full SHA for 1a5dbc7
src/display.rs
@@ -3,6 +3,8 @@ use std::path::{self, Path, PathBuf};
3
4
#[doc(hidden)]
5
pub trait AsDisplay<'a> {
6
+ // TODO: convert to generic associated type.
7
+ // https://github.com/dtolnay/thiserror/pull/253
8
type Target: Display;
9
10
fn as_display(&'a self) -> Self::Target;
0 commit comments