From 6d48e12f01981a3f47a560a1be7aafff9ea2bb66 Mon Sep 17 00:00:00 2001 From: Tomas Sedovic Date: Thu, 3 Mar 2016 22:48:53 +0100 Subject: [PATCH] Make the AsciiLiteral trait public We're getting a warning for E0446 in the recent builds. Making this trait public fixes it. --- src/console.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.rs b/src/console.rs index fdb3faad9..c4da91645 100644 --- a/src/console.rs +++ b/src/console.rs @@ -524,7 +524,7 @@ impl<'a> TcodString for &'a String { } } -trait AsciiLiteral {} +pub trait AsciiLiteral {} impl AsciiLiteral for [u8] {} // AsciiLiteral is implemented for fixed-size arrays up to length 32, same as the current