Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
esquerbatua committed Oct 7, 2024
1 parent 293ed15 commit 497df9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/x/json2/json2.v
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ pub fn map_from[T](t T) map[string]Any {
return m
}

@[inline]
// map_from_values convert a array of values to map of Any
@[inline]
fn map_from_values[T](t []T) []Any {
$if t !is $array {
return Any(t)
Expand Down

0 comments on commit 497df9f

Please sign in to comment.