Skip to content

Privatize appropriate struct fields in core and std #4386

Closed
@bstrie

Description

@bstrie
< bstrie> pcwalton: do you know why priv is commented out on this line in
          std::future? 
          https://github.com/mozilla/rust/blob/master/src/libstd/future.rs#L30
<@brson> bstrie: because the priv keyword wasn't supported there at the
         time. it's a reminder that that field should be 'priv'
< bstrie> ok, so that should be changed then
<@brson> yes

Find all priv fields of this type and uncomment them. Should perhaps also go through the rest of the libraries and stick priv qualifiers wherever their use may have been overlooked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions