Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: ygrek <a2fe5a779ee175241c449166d16462d935a9a93a@autistici.org>
c-cube/lwt,ocsigen/lwt,ocsigen/lwt,ocsigen/lwt,c-cube/lwt,c-cube/lwt