From e93512c59f92dadfa2d79f642fe19be16bf6c00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9di-R=C3=A9mi=20Hashim?= Date: Fri, 11 Jul 2025 17:30:42 +0200 Subject: [PATCH 1/2] Add missing backtick and spaces to Belt.Map.map doc comment --- runtime/Belt_Map.resi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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> From 1f7c88b5d1b0a47fe351a3bef6f64dd2302e36da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9di-R=C3=A9mi=20Hashim?= Date: Fri, 11 Jul 2025 17:37:22 +0200 Subject: [PATCH 2/2] Add CHANGELOG entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98947a6679..c2a26c9662 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 + # 12.0.0-beta.1 #### :rocket: New Feature