File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -958,7 +958,7 @@ pub fn extract_simple_parameters(
958958
959959// ── Type-map helpers ───────────────────────────────────────────────────────
960960
961- /// Merge a type-map entry into the sink with first-write -wins semantics,
961+ /// Merge a type-map entry into the sink with highest-confidence -wins semantics,
962962/// matching `setTypeMapEntry` in `src/extractors/helpers.ts`.
963963///
964964/// If the key already exists with equal-or-higher confidence the new entry is
@@ -997,8 +997,8 @@ pub fn set_type_map_entry(
997997/// the default confidence of `0.9` shared by every Rust extractor.
998998///
999999/// Delegates to [`set_type_map_entry`] so duplicate keys are deduplicated with
1000- /// first-write-wins semantics, matching `setTypeMapEntry` in
1001- /// `src/extractors/helpers.ts`.
1000+ /// highest-confidence-wins semantics ( first-write-wins at the uniform 0.9
1001+ /// confidence), matching `setTypeMapEntry` in `src/extractors/helpers.ts`.
10021002pub fn push_type_map_entry (
10031003 symbols : & mut FileSymbols ,
10041004 name : impl Into < String > ,
You can’t perform that action at this time.
0 commit comments