Skip to content

New naming convention for ast::{node_id, local_crate, crate_node_id, blk_check_mode, ty_field, ty_method} #8107

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

Closed

Conversation

michaelwoerister
Copy link
Member

Contiunation of naming cleanup in libsyntax::ast:

ast::node_id => ast::NodeId
ast::local_crate => ast::LOCAL_CRATE
ast::crate_node_id => ast::CRATE_NODE_ID
ast::blk_check_mode => ast::BlockCheckMode
ast::ty_field => ast::TypeField
ast::ty_method => ast::TypeMethod

Also moved span field directly into TypeField struct and cleaned up overlooked ast::CrateConfig renamings from last pull request.

Cheers,
Michael

@michaelwoerister
Copy link
Member Author

@cmr retry? I don't think this has anything to do with my changes.

bors added a commit that referenced this pull request Jul 30, 2013
Contiunation of naming cleanup in `libsyntax::ast`:
```rust
ast::node_id => ast::NodeId
ast::local_crate => ast::LOCAL_CRATE
ast::crate_node_id => ast::CRATE_NODE_ID
ast::blk_check_mode => ast::BlockCheckMode
ast::ty_field => ast::TypeField
ast::ty_method => ast::TypeMethod
```
Also moved span field directly into `TypeField` struct and cleaned up overlooked `ast::CrateConfig` renamings from last pull request.

Cheers,
Michael
@bors bors closed this Jul 30, 2013
@michaelwoerister
Copy link
Member Author

Excellent :)

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.

4 participants