Skip to content

Commit d488d54

Browse files
committed
Doc for Orb.Str.Slice
1 parent 65efc10 commit d488d54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/orb/str.ex

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ defmodule Orb.Str do
5858
end
5959

6060
defmodule Slice do
61+
@moduledoc """
62+
A string slice represented as a i64, a compromise for when storing strings as globals (Globals cannot be `(i32 i32)`, only single primitives like `i32` or `i64`).
63+
"""
6164
defstruct push_type: __MODULE__, slice64: nil
6265

6366
with @behaviour Orb.CustomType do

0 commit comments

Comments
 (0)