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

Add example to std::process::abort #41090

Merged
merged 2 commits into from
Apr 7, 2017
Merged

Conversation

rap2hpoutre
Copy link
Contributor

@rap2hpoutre rap2hpoutre commented Apr 5, 2017

This is a second step in order to complete this issue: #29370
I submitted this PR with the help of @steveklabnik again. Thanks to him! More info here: #29370 (comment)

This is a second (2/3?) step in order to complete this issue: rust-lang#29370
I submitted this PR with the help of @steveklabnik again. Thanks to him! More info here: rust-lang#29370 (comment)
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rap2hpoutre
Copy link
Contributor Author

r? @steveklabnik

@rust-highfive rust-highfive assigned steveklabnik and unassigned aturon Apr 5, 2017
Copy link
Member

@steveklabnik steveklabnik left a comment

Choose a reason for hiding this comment

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

This is fantastic! One tiny, tiny thing though, then this is good to go

/// // the destructor implemented for HasDrop will never get run
/// }
/// ```
///
Copy link
Member

Choose a reason for hiding this comment

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

could you remove this line, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok done!

@@ -1070,6 +1070,28 @@ pub fn exit(code: i32) -> ! {
/// // execution never gets here
/// }
/// ```
///
/// The abort function terminates the process, so the destructor will not get
Copy link
Member

Choose a reason for hiding this comment

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

oh and could this link to abort please?

Copy link
Member

Choose a reason for hiding this comment

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

There's also whitespace at the end of this line the tidy checker doesn't like.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok for both comments! Thanks!

@rap2hpoutre
Copy link
Contributor Author

@steveklabnik Ok, everything seems fine now. Thank you again!

@steveklabnik
Copy link
Member

@bors: r+ rollup

💯 ❤️ ✨ thank you!!!

@bors
Copy link
Contributor

bors commented Apr 6, 2017

📌 Commit 16c77d7 has been approved by steveklabnik

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 6, 2017
Add example to std::process::abort

This is a second step in order to complete this issue: rust-lang#29370
I submitted this PR with the help of @steveklabnik again. Thanks to him! More info here: rust-lang#29370 (comment)
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 6, 2017
Add example to std::process::abort

This is a second step in order to complete this issue: rust-lang#29370
I submitted this PR with the help of @steveklabnik again. Thanks to him! More info here: rust-lang#29370 (comment)
bors added a commit that referenced this pull request Apr 6, 2017
Rollup of 8 pull requests

- Successful merges: #40878, #40976, #41089, #41090, #41108, #41111, #41112, #41114
- Failed merges:
@bors bors merged commit 16c77d7 into rust-lang:master Apr 7, 2017
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.

6 participants