diff --git a/CHANGELOG.md b/CHANGELOG.md index c53e769d37..dad93c3529 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ # 12.0.0-beta.2 (Unreleased) +#### :nail_care: Polish + +- Add missing backtick and spaces to `Belt.Map.map` doc comment. https://github.com/rescript-lang/rescript/pull/7632 + #### :house: Internal - Remove internal/unused `-bs-v` flag. https://github.com/rescript-lang/rescript/pull/7627 diff --git a/runtime/Belt_Map.resi b/runtime/Belt_Map.resi index 20d1c5babb..adafc63377 100644 --- a/runtime/Belt_Map.resi +++ b/runtime/Belt_Map.resi @@ -514,11 +514,11 @@ let split: (t<'k, 'v, 'id>, 'k) => ((t<'k, 'v, 'id>, t<'k, 'v, 'id>), option<'v> @deprecated("Use `map` instead") let mapU: (t<'k, 'v, 'id>, 'v => 'v2) => t<'k, 'v2, 'id> -/** -`map(m, f) returns a map with same domain as`m`, where the associated -value`a`of all bindings of`m`has been replaced by the result of the -application of`f`to`a`. The bindings are passed to`f` in increasing order -with respect to the ordering over the type of the keys. +/** +`map(m, f)` returns a map with same domain as `m`, where the associated value `a` +of all bindings of `m` has been replaced by the result of the application of `f` +to `a`. The bindings are passed to `f` in increasing order with respect to the +ordering over the type of the keys. */ let map: (t<'k, 'v, 'id>, 'v => 'v2) => t<'k, 'v2, 'id>