review: change Outcome output
This commit is contained in:
@@ -11,7 +11,7 @@ pub enum E {
|
|||||||
impl Display for E {
|
impl Display for E {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
|
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
|
||||||
match self {
|
match self {
|
||||||
Self::Scalar(value) => write!(f, "[{}]", value),
|
Self::Scalar(value) => write!(f, "{}", value),
|
||||||
Self::List(value) => {
|
Self::List(value) => {
|
||||||
let str_list = value
|
let str_list = value
|
||||||
.iter()
|
.iter()
|
||||||
|
|||||||
Reference in New Issue
Block a user