fix(sema): initialize target_claim exactly once in both knowledge ref variants
This commit is contained in:
1 parent
f18e7691be
commit
475a0d6810
1 file changed
+1
-1
+1
-1
@@ -713,7 +713,6 @@ fn artifact_for_function(
|
||||
link_target: None,
|
||||
target_anchor: None,
|
||||
target_claim: None,
|
||||
target_claim: None,
|
||||
id: ref_id.clone(),
|
||||
label: named.label.clone(),
|
||||
context: named.context.clone(),
|
||||
@@ -755,6 +754,7 @@ fn artifact_for_function(
|
||||
anchor_id: None,
|
||||
link_target: Some(link.target.clone()),
|
||||
target_anchor: None,
|
||||
target_claim: None,
|
||||
id: ref_id.clone(),
|
||||
label: link.label.clone(),
|
||||
context: "narrative".into(),
|
||||
|
||||
Reference in new issue
Block a user