Skip to content

Commit

Permalink
fix doclink
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed Dec 3, 2024
1 parent 9f0b906 commit 1b7f9ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hugr-core/src/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ pub trait OpTrait: Sized {
}

/// Apply a type-level substitution to this OpType, i.e. replace
/// [type variables](Type::Variable) with new types.
/// [type variables](crate::types::TypeArg::new_var_use) with new types.
fn substitute(self, _subst: &Substitution) -> Self {
self
}
Expand Down
2 changes: 1 addition & 1 deletion hugr-core/src/ops/dataflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub trait DataflowOpTrait: Sized {
}

/// Apply a type-level substitution to this OpType, i.e. replace
/// [type variables](Type::Variable) with new types.
/// [type variables](TypeArg::new_var_use) with new types.
fn substitute(self, _subst: &Substitution) -> Self;
}

Expand Down

0 comments on commit 1b7f9ee

Please sign in to comment.