Skip to content

Commit c06eb38

Browse files
authored
Fix struct update syntax deprecation warning elixir 1.19.0-dev (#143)
1 parent 23becbe commit c06eb38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/nimble_options.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ defmodule NimbleOptions do
517517
{:ok, options}
518518
else
519519
{:error, %ValidationError{} = error} ->
520-
{:error, %ValidationError{error | keys_path: path ++ error.keys_path}}
520+
{:error, %{error | keys_path: path ++ error.keys_path}}
521521
end
522522
end
523523

0 commit comments

Comments
 (0)