Skip to content

Conversation

@ParkMyCar
Copy link
Contributor

Motivation

This PR makes a tiny change to the visibility of a struct field that was introduced in #17458. @benesch pointed out that fields shouldn't be marked as pub and prefixed with _, as pub suggests the field will be used where _ suggests the field will not.

FWIW I opened rust-lang/rust-clippy#10283 to make this an official Clippy lint

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered.
  • This PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way) and therefore is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • This PR includes the following user-facing behavior changes:
    • N/a

@ParkMyCar ParkMyCar requested a review from a team as a code owner February 3, 2023 15:37
Copy link
Contributor

@jkosh44 jkosh44 left a comment

Choose a reason for hiding this comment

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

LGTM

@benesch
Copy link
Contributor

benesch commented Feb 3, 2023

Wow, thanks!

@benesch benesch merged commit 3c46f16 into MaterializeInc:main Feb 3, 2023
@ParkMyCar ParkMyCar deleted the lint/small-vis-cleanup branch February 3, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants