Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanku committed Dec 16, 2024
1 parent 2dd1736 commit a1fecab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion substrate/src/schematic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ mod tests {

pub struct CustomView;

impl HasViewImpl<CustomView, FromSelf> for Signal {
impl HasViewImpl<CustomView> for Signal {
type View = i64;
}

Expand Down
2 changes: 1 addition & 1 deletion substrate/src/types/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl ViewSource for Signal {
type Source = Self;
}

impl<S> HasViewImpl<PortGeometryBundle<S>, FromSelf> for Signal {
impl<S> HasViewImpl<PortGeometryBundle<S>> for Signal {
type View = PortGeometry<S>;
}

Expand Down

0 comments on commit a1fecab

Please sign in to comment.