From f2392e71bffdd787860d22d77a8d0d28ca8740e0 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Sat, 10 Apr 2021 18:32:45 +0200 Subject: [PATCH] fix a typo in TOML error message (#40428) * fix a typo in TOML error message (cherry picked from commit e260f2bccada3ef162c1f322bd80581a3d95fb64) --- base/toml_parser.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/toml_parser.jl b/base/toml_parser.jl index 956c62196d6b8..916a93fdf0d22 100644 --- a/base/toml_parser.jl +++ b/base/toml_parser.jl @@ -242,7 +242,7 @@ const err_message = Dict( ErrExpectedEqualAfterKey => "expected equal sign after key", ErrNoTrailingDigitAfterDot => "expected digit after dot", ErrOverflowError => "overflowed when parsing integer", - ErrInvalidUnicodeScalar => "invalid uncidode scalar", + ErrInvalidUnicodeScalar => "invalid unicode scalar", ErrInvalidEscapeCharacter => "invalid escape character", ErrUnexpectedEofExpectedValue => "unexpected end of file, expected a value" )