Skip to content

Commit

Permalink
http: fix compiler warning
Browse files Browse the repository at this point in the history
OCaml 5.2 complains:

    Error (warning 53 [misplaced-attribute]): the "deprecated" attribute cannot appear in this context
  • Loading branch information
talex5 committed Jun 14, 2024
1 parent 1d9e14b commit 0f3f562
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions http/src/http.mli
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,10 @@ module Response : sig
val status : t -> Status.t

val flush :
(t -> bool
[@deprecated
"this field will be removed in the future. Provide flush in the \
[respond_*] function instead."])
(t -> bool)
[@@deprecated
"this field will be removed in the future. Provide flush in the \
[respond_*] function instead."]

val compare : t -> t -> int

Expand Down

0 comments on commit 0f3f562

Please sign in to comment.