Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Make the AsciiLiteral trait public
Browse files Browse the repository at this point in the history
We're getting a warning for E0446 in the recent builds. Making this
trait public fixes it.
  • Loading branch information
tomassedovic committed Mar 3, 2016
1 parent 96b1998 commit 6d48e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d48e12

Please sign in to comment.