Skip to content

Commit 8658e1c

Browse files
authored
Add missing backtick and spaces to Belt.Map.map doc comment (#7632)
* Add missing backtick and spaces to Belt.Map.map doc comment * Add CHANGELOG entry
1 parent 9454207 commit 8658e1c

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
1313
# 12.0.0-beta.2 (Unreleased)
1414

15+
#### :nail_care: Polish
16+
17+
- Add missing backtick and spaces to `Belt.Map.map` doc comment. https://github.com/rescript-lang/rescript/pull/7632
18+
1519
#### :house: Internal
1620

1721
- Remove internal/unused `-bs-v` flag. https://github.com/rescript-lang/rescript/pull/7627

runtime/Belt_Map.resi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -514,11 +514,11 @@ let split: (t<'k, 'v, 'id>, 'k) => ((t<'k, 'v, 'id>, t<'k, 'v, 'id>), option<'v>
514514

515515
@deprecated("Use `map` instead")
516516
let mapU: (t<'k, 'v, 'id>, 'v => 'v2) => t<'k, 'v2, 'id>
517-
/**
518-
`map(m, f) returns a map with same domain as`m`, where the associated
519-
value`a`of all bindings of`m`has been replaced by the result of the
520-
application of`f`to`a`. The bindings are passed to`f` in increasing order
521-
with respect to the ordering over the type of the keys.
517+
/**
518+
`map(m, f)` returns a map with same domain as `m`, where the associated value `a`
519+
of all bindings of `m` has been replaced by the result of the application of `f`
520+
to `a`. The bindings are passed to `f` in increasing order with respect to the
521+
ordering over the type of the keys.
522522
*/
523523
let map: (t<'k, 'v, 'id>, 'v => 'v2) => t<'k, 'v2, 'id>
524524

0 commit comments

Comments
 (0)