diff options
author | Nadrieril | 2019-03-31 21:04:10 +0200 |
---|---|---|
committer | Nadrieril | 2019-03-31 21:04:10 +0200 |
commit | 62970fd2010b01260cf45a1f2a6a582c6a8c0c12 (patch) | |
tree | 483b2661c61781b80a98ca9985a76280392e327f /dhall_core/src/printer.rs | |
parent | c4fe2f4290089437d3ff1d6d15df58b4cf29a11e (diff) |
Make Expr generic in Label
Diffstat (limited to '')
-rw-r--r-- | dhall_core/src/printer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/printer.rs b/dhall_core/src/printer.rs index fb3b8e8..746b863 100644 --- a/dhall_core/src/printer.rs +++ b/dhall_core/src/printer.rs @@ -462,7 +462,7 @@ impl Display for Scheme { } } -impl Display for V { +impl<Label: Display> Display for V<Label> { fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { let V(x, n) = self; x.fmt(f)?; |