Fixed compilation error regarding a lack of std:: before usize::MAX

pull/345/head
JT Raber 4 years ago
parent 6504930888
commit 3e7e8eca5c

@ -263,7 +263,7 @@ impl Buffer {
where
S: AsRef<str>,
{
self.set_stringn(x, y, string, usize::MAX, style);
self.set_stringn(x, y, string, std::usize::MAX, style);
}
/// Print at most the first n characters of a string if enough space is available

Loading…
Cancel
Save