
But rendered correctly by silicon

raw:
defmodule BestStructEver do\r\n defstruct [:a]\r\nend\r\n\r\n# Struct to simple map:\r\niex> Map.from_struct(%BestStructEver{a: \"foobar\"})\r\n# => %{a: \"foobar\"}\r\n\r\n# Map to a struct:\r\niex> struct(BestStructEver, %{a: \"foobar\"})\r\n# => %BestStructEver{a: \"foobar\"}\r\n\r\n# Note: The struct function is from Kernel, so `Kernel.` can be omitted.
I suspect it might have something to do with \r\n instead of \n, but unsure.
But rendered correctly by silicon
raw:
I suspect it might have something to do with
\r\ninstead of\n, but unsure.