-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix for #3722 #3767
Fix for #3722 #3767
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
tests/init.rs
Outdated
@@ -94,36 +94,48 @@ fn bin_already_exists(explicit: bool, rellocation: &str) { | |||
let mut new_content = Vec::new(); | |||
File::open(&sourcefile_path).unwrap().read_to_end(&mut new_content).unwrap(); | |||
assert_eq!(Vec::from(content as &[u8]), new_content); | |||
|
|||
let mut cargo_content = String::new(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation here looks like it may be a bit off?
Looks great to me, thanks! |
@alexcrichton looks like you've forgotten to r+? Or is there anything else here to do? |
Further issues #3722: if |
@bors: r+ |
📌 Commit 8e4b8b2 has been approved by |
Fix for #3722 When using init, add [[bin]] and [lib] section where appropriate.
☀️ Test successful - status-appveyor, status-travis |
When using init, add [[bin]] and [lib] section where appropriate.