Skip to content

Commit af0b30e

Browse files
committed
Remove trailing spaces
1 parent 2ca099c commit af0b30e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/uri.ml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ let rec compare_list f t t' = match t, t' with
6060
| x::xs, y::ys ->
6161
match f x y with 0 -> compare_list f xs ys | c -> c
6262

63-
(** Safe characters that are always allowed in a URI
63+
(** Safe characters that are always allowed in a URI
6464
* Unfortunately, this varies depending on which bit of the URI
6565
* is being parsed, so there are multiple variants (and this
6666
* set is probably not exhaustive. TODO: check.
@@ -83,7 +83,7 @@ module Generic : Scheme = struct
8383
done;
8484
a
8585

86-
let safe_chars : safe_chars =
86+
let safe_chars : safe_chars =
8787
let a = Array.make 256 false in
8888
let always_safe =
8989
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-~" in
@@ -215,10 +215,10 @@ let module_of_scheme = function
215215
* and this really, really shouldn't be mixed up. So this Pct module
216216
* defines abstract Pct.encoded and Pct.decoded types which sets the
217217
* state of the underlying string. There are functions to "cast" to
218-
* and from these and normal strings, and this promotes a bit of
219-
* internal safety. These types are not exposed to the external
218+
* and from these and normal strings, and this promotes a bit of
219+
* internal safety. These types are not exposed to the externa
220220
* interface, as casting to-and-from is quite a bit of hassle and
221-
* probably not a lot of use to the average consumer of this library
221+
* probably not a lot of use to the average consumer of this library
222222
*)
223223
module Pct : sig
224224
type encoded with sexp
@@ -255,7 +255,7 @@ end = struct
255255
let unlift_decoded f = f
256256
let unlift_decoded2 f = f
257257

258-
(** Scan for reserved characters and replace them with
258+
(** Scan for reserved characters and replace them with
259259
percent-encoded equivalents.
260260
@return a percent-encoded string *)
261261
let encode ?scheme ?(component=`Path) b =

0 commit comments

Comments
 (0)