Skip to content
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

Guide: strings #16333

Merged
merged 1 commit into from
Aug 8, 2014
Merged

Guide: strings #16333

merged 1 commit into from
Aug 8, 2014

Conversation

steveklabnik
Copy link
Member

I think this is the right place to introduce strings. It's a bit hard to talk about without understanding pointers and ownership, but you need to have some idea of what's going on...

bors added a commit that referenced this pull request Aug 8, 2014
I _think_ this is the right place to introduce strings. It's a bit hard to talk about without understanding pointers and ownership, but you need to have some idea of what's going on...
@bors bors closed this Aug 8, 2014
@bors bors merged commit e0fa999 into rust-lang:master Aug 8, 2014
@steveklabnik steveklabnik deleted the guide_strings branch October 25, 2017 18:26
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 15, 2024
Preserve comments for extracted block expression in 'extract_function'

Fix rust-lang#14371

Preserve comments for extracted block expression in 'extract_function'.

In the original implementation, `block.statements()` was used to construct a new function, removing the comments within the block. In the updated implementation, we use manual traversal of nodes and `hacky_block_expr` to generate a new block, thereby preserving the comments.
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