Skip to content

Conversation

lambda-fairy
Copy link
Contributor

This means passing in e.g. a Vec<u8> or String will work as
intended, rather than deref-ing to &mut [u8] or &mut str.

[breaking-change]

Closes #23768

This means passing in e.g. a `Vec<u8>` or `String` will work as
intended, rather than deref-ing to `&mut [u8]` or `&mut str`.

[breaking-change]

Closes #23768
@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@aturon
Copy link
Contributor

aturon commented Apr 3, 2015

cc @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+ 7c3efcc

@bors
Copy link
Collaborator

bors commented Apr 3, 2015

⌛ Testing commit 7c3efcc with merge 82dcec7...

bors added a commit that referenced this pull request Apr 3, 2015
This means passing in e.g. a `Vec<u8>` or `String` will work as
intended, rather than deref-ing to `&mut [u8]` or `&mut str`.

[breaking-change]

Closes #23768
@bors
Copy link
Collaborator

bors commented Apr 3, 2015

@bors bors merged commit 7c3efcc into rust-lang:master Apr 3, 2015
@lambda-fairy lambda-fairy deleted the write-no-deref branch April 3, 2015 10:04
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.

Write impl on Vec<u8> is easy to misuse
5 participants