浏览代码

Rephrasing for constants

FourteenBrush 2 月之前
父节点
当前提交
56c221e211
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      base/intrinsics/intrinsics.odin

+ 1 - 1
base/intrinsics/intrinsics.odin

@@ -213,7 +213,7 @@ type_is_subtype_of :: proc($T, $U: typeid) -> bool ---
 
 
 type_field_index_of :: proc($T: typeid, $name: string) -> uintptr ---
 type_field_index_of :: proc($T: typeid, $name: string) -> uintptr ---
 
 
-// Contiguous as in having a set of constants, when sorted, the difference between consecutive values is only 0 or 1
+// Contiguous as in having a set of constants, when sorted, the difference between consecutive constants is only 0 or 1
 type_enum_is_contiguous :: proc($T: typeid) -> bool where type_is_enum(T) ---
 type_enum_is_contiguous :: proc($T: typeid) -> bool where type_is_enum(T) ---
 
 
 type_equal_proc  :: proc($T: typeid) -> (equal:  proc "contextless" (rawptr, rawptr) -> bool)                 where type_is_comparable(T) ---
 type_equal_proc  :: proc($T: typeid) -> (equal:  proc "contextless" (rawptr, rawptr) -> bool)                 where type_is_comparable(T) ---