From 5a3c7c797129fd02fc52024ed21129113a7506e7 Mon Sep 17 00:00:00 2001 From: Fardale Date: Wed, 25 Dec 2024 13:38:21 +0100 Subject: [PATCH] CCChar(cleanup): remove CCChar.compare from the mli Char.compare already existe --- src/core/CCChar.mli | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/CCChar.mli b/src/core/CCChar.mli index d18eb48e..06a80c3d 100644 --- a/src/core/CCChar.mli +++ b/src/core/CCChar.mli @@ -9,12 +9,6 @@ include module type of struct include Char end -val compare : t -> t -> int -(** The comparison function for characters, with the same specification as - {!Stdlib.compare}. Along with the type [t], this function [compare] - allows the module [Char] to be passed as argument to the functors - {!Set.Make} and {!Map.Make}. *) - val of_int_exn : int -> t (** Alias to {!Char.chr}. Return the character with the given ASCII code.