Skip to content

Commit bb6807f

Browse files
committed
Add reason to [expect(...)]
1 parent 3a881df commit bb6807f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hugr-passes/src/dataflow/datalog.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ impl<H: HugrView, V: AbstractValue> Machine<H, V> {
5151
/// or [Conditional](hugr_core::ops::Conditional)).
5252
/// Any inputs not given values by `in_values`, are set to [`PartialValue::Top`].
5353
/// Multiple calls for the same `parent` will `join` values for corresponding ports.
54-
#[expect(clippy::result_large_err)]
54+
#[expect(
55+
clippy::result_large_err,
56+
reason = "Not called recursively and not a performance bottleneck"
57+
)]
58+
#[inline]
5559
pub fn prepopulate_inputs(
5660
&mut self,
5761
parent: H::Node,

0 commit comments

Comments
 (0)