aboutsummaryrefslogtreecommitdiff
path: root/lib/models/id/channel_id_t.ml
diff options
context:
space:
mode:
authorMatias Goldfeld <[email protected]>2021-01-29 13:40:47 -0500
committerMatias Goldfeld <[email protected]>2021-01-29 13:40:47 -0500
commita44882d0e2c7b3397fc6c6c616e554eeb2248fdb (patch)
treef0fc6ff32bbf586b94d573ecb4c99b17324ea0ee /lib/models/id/channel_id_t.ml
parentRevert "Started conversion to ppx_yojson_conv" (diff)
downloaddisml-a44882d0e2c7b3397fc6c6c616e554eeb2248fdb.tar.xz
disml-a44882d0e2c7b3397fc6c6c616e554eeb2248fdb.zip
Revert "More Int64 refactors"
This reverts commit b499169e93e9f7bdd0f877a3cdf0247ec495abe1.
Diffstat (limited to 'lib/models/id/channel_id_t.ml')
-rw-r--r--lib/models/id/channel_id_t.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/id/channel_id_t.ml b/lib/models/id/channel_id_t.ml
index c6b80ec..cea85e0 100644
--- a/lib/models/id/channel_id_t.ml
+++ b/lib/models/id/channel_id_t.ml
@@ -2,7 +2,7 @@ open Core
type t = [ `Channel_id of Snowflake.t ] [@@deriving sexp]
-let compare (`Channel_id t) (`Channel_id t') = Int64.compare t t'
+let compare (`Channel_id t) (`Channel_id t') = Int.compare t t'
let of_yojson a : (t, string) result =
match Snowflake.of_yojson a with