mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
docs(configuration): improve clarity and formatting in configuration documentation
This commit is contained in:
parent
9062cd652a
commit
32211079a0
32 changed files with 717 additions and 380 deletions
|
|
@ -450,11 +450,13 @@ mod tests {
|
|||
let adapter = LegacyDetectOnlyAdapter;
|
||||
|
||||
let no_ssa = adapter.detect_with_context(&summary, None, tree.root_node(), src);
|
||||
assert_eq!(no_ssa.as_ref().map(|b| b.adapter.as_str()), Some("legacy:handler"));
|
||||
assert_eq!(
|
||||
no_ssa.as_ref().map(|b| b.adapter.as_str()),
|
||||
Some("legacy:handler")
|
||||
);
|
||||
|
||||
let mut ssa = SsaFuncSummary::default();
|
||||
ssa.typed_call_receivers
|
||||
.push((0, "Repository".to_string()));
|
||||
ssa.typed_call_receivers.push((0, "Repository".to_string()));
|
||||
let with_ssa = adapter.detect_with_context(&summary, Some(&ssa), tree.root_node(), src);
|
||||
// Default impl ignores the SSA summary, so both calls produce
|
||||
// the same binding identity.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue