Skip to content

Rust: Hide internal implementation details from DataFlow::Node #18657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Feb 3, 2025

No description provided.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Feb 3, 2025
@hvitved hvitved force-pushed the rust/dataflow-node-api branch 2 times, most recently from f738959 to 8435700 Compare February 3, 2025 12:59
@hvitved hvitved force-pushed the rust/dataflow-node-api branch from 8435700 to 45fc1da Compare February 3, 2025 13:13
@hvitved hvitved marked this pull request as ready for review February 3, 2025 13:20
@Copilot Copilot AI review requested due to automatic review settings February 3, 2025 13:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

/**
* Gets this node's underlying SSA definition, if any.
*/
Ssa::Definition asDefinition() { none() }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method doesn't seem to have a non-none definition anywhere and is not used. Was it just copied from another language or is there more going on here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was probably just copied.

Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, but I'd like @paldepind to at least see this before it's merged.

@hvitved hvitved merged commit acd31dd into github:main Feb 4, 2025
16 checks passed
@hvitved hvitved deleted the rust/dataflow-node-api branch February 4, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants