Skip to content

Commit ccd64b4

Browse files
committed
docs(native): correct set_type_map_entry semantics label to highest-confidence-wins
1 parent 2e92eb6 commit ccd64b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/codegraph-core/src/extractors/helpers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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`.
10021002
pub fn push_type_map_entry(
10031003
symbols: &mut FileSymbols,
10041004
name: impl Into<String>,

0 commit comments

Comments
 (0)