Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
polvorin committed Jun 27, 2024
1 parent 270c9b1 commit 3704e8d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ defmodule Ockam.TypedCBOR do
struct =
values
|> Enum.with_index(&{&2, &1})
|> Enum.filter(fn({_,v}) -> v != nil end) # field not present
# field not present
|> Enum.filter(fn {_, v} -> v != nil end)
|> Enum.into(%{})

from_cbor_term({:struct, fields}, struct)
Expand Down

0 comments on commit 3704e8d

Please sign in to comment.