std.fmt.ParseUnsignedError is now public

This commit is contained in:
Andrew Kelley 2019-12-04 18:44:22 -05:00
parent 10e172b1d7
commit bef3769bb7
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -1021,7 +1021,7 @@ test "parseInt" {
std.testing.expect(if (parseInt(u8, "256", 10)) |_| false else |err| err == error.Overflow);
}
const ParseUnsignedError = error{
pub const ParseUnsignedError = error{
/// The result cannot fit in the type specified
Overflow,