Skip to content

Commit

Permalink
fix a clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Jul 7, 2024
1 parent cb9ee6e commit e0da3b7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2326,12 +2326,11 @@ impl NodeGraphMessageHandler {
}
} else if let NodeInput::Value { tagged_value, .. } = export {
(FrontendGraphDataType::with_type(&tagged_value.ty()), Some(tagged_value.ty()))
}
// TODO: Get type from parent node input when <https://github.com/GraphiteEditor/Graphite/issues/1762> is possible
// else if let NodeInput::Network { import_type, .. } = export {
// (FrontendGraphDataType::with_type(import_type), Some(import_type.clone()))
// }
else {
} else {
(FrontendGraphDataType::General, None)
};

Expand Down

0 comments on commit e0da3b7

Please sign in to comment.