From 47cd6f5a412bdf8f499a556718a60ead48f07f35 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Wed, 12 Dec 2018 23:17:28 +0900 Subject: [PATCH] remove redundant error message --- toml/parser.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index 15954a7..a965e1e 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -884,8 +884,7 @@ parse_array(location& loc) } else { - return err("[error] toml::parse_array: while reading an element of " - "an array\n" + val.unwrap_err()); + return err(val.unwrap_err()); } using lex_array_separator = sequence, character<','>>;