Skip to content

Commit

Permalink
goldfirere's comment tweaks
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Eisenberg <reisenberg@janestreet.com>
  • Loading branch information
rtjoa and goldfirere authored Dec 26, 2024
1 parent 2247db3 commit d5f5a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion typing/ctype.mli
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ val get_unboxed_type_approximation : Env.t -> type_expr -> type_expr
was fully expanded or not. *)

val contained_without_boxing : Env.t -> type_expr -> type_expr list
(* Return all types that are contained without boxing
(* Return all types that are directly contained without boxing
(or "without indirection" or "flatly") *)

(* Given the row from a variant type, determine if it is immediate. Currently
Expand Down
2 changes: 1 addition & 1 deletion typing/typedecl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2066,7 +2066,7 @@ let check_well_founded_decl ~abs_env env loc path decl to_check =
otherwise the type is uninhabitable and usually also infinite-size.
See [typing-layouts-unboxed-records/recursive.ml].
Because `check_well_founded` already ruled out recursion through structural
Because [check_well_founded] already ruled out recursion through structural
types (for this check, we care about unboxed tuples and aliases), we just
look for a cycle in nominal unboxed types ([@@unboxed] types and unboxed
records), tracking the set of seen paths.
Expand Down

0 comments on commit d5f5a5a

Please sign in to comment.