diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-10-24 01:50:35 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-10-24 01:50:35 +0000 |
| commit | b2ff91614a7f1c7dd54a43bbfe88bbb6694b0a71 (patch) | |
| tree | 38617ef0008e34fcaa95a2c32ec721ced1bb1a4f /lib/concepts/Encoding.ml | |
| parent | 5a6af8a74895b548ed39649aef4a09fb53b4dbbc (diff) | |
| download | RNT-b2ff91614a7f1c7dd54a43bbfe88bbb6694b0a71.tar.gz RNT-b2ff91614a7f1c7dd54a43bbfe88bbb6694b0a71.zip | |
Formatting
Diffstat (limited to '')
| -rw-r--r-- | lib/concepts/Encoding.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/concepts/Encoding.ml b/lib/concepts/Encoding.ml index 6420817..50eb6e6 100644 --- a/lib/concepts/Encoding.ml +++ b/lib/concepts/Encoding.ml @@ -216,7 +216,7 @@ module Value = struct Bencode.with_tag '?' value |>> Bencode.as_list |> Result.map Utilities.List.hd_opt - |>> (function None -> Ok None | Some v -> f v |> Result.map Option.some) + |>> function None -> Ok None | Some v -> f v |> Result.map Option.some end module Field = struct |
