Skip to content

Commit

Permalink
Clarify docs of CallIndirect
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed Mar 27, 2024
1 parent cb1d47d commit ee7df6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion quantinuum-hugr/src/ops/dataflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ impl Call {
}
}

/// Call a function indirectly. Like call, but the first input is a standard dataflow graph type.
/// Call a function indirectly. Like call, but the function input is a value
/// (runtime, not static) dataflow edge, and we assume all its binders have
/// already been given [TypeArg]s by [TypeApply] nodes.
///
/// [TypeApply]: crate::ops::LeafOp::TypeApply
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub struct CallIndirect {
/// Signature of function being called
Expand Down

0 comments on commit ee7df6f

Please sign in to comment.