about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2014-10-23 10:43:18 -0500
committerJorge Aparicio <japaricious@gmail.com>2014-10-27 20:20:08 -0500
commit94ddb51c9c0a53103dc0c2a4c0260e71f62e6ef8 (patch)
tree1caa837696e414cc829385da5127f1c3a1fe208b /src/rustllvm/RustWrapper.cpp
parentbd7138dd698dde29fb4d7fd34529a863b85d947e (diff)
downloadrust-94ddb51c9c0a53103dc0c2a4c0260e71f62e6ef8.tar.gz
rust-94ddb51c9c0a53103dc0c2a4c0260e71f62e6ef8.zip
DSTify [T]/str extension traits
This PR changes the signature of several methods from `foo(self, ...)` to
`foo(&self, ...)`/`foo(&mut self, ...)`, but there is no breakage of the usage
of these methods due to the autoref nature of `method.call()`s. This PR also
removes the lifetime parameter from some traits (`Trait<'a>` -> `Trait`). These
changes break any use of the extension traits for generic programming, but
those traits are not meant to be used for generic programming in the first
place. In the whole rust distribution there was only one misuse of a extension
trait as a bound, which got corrected (the bound was unnecessary and got
removed) as part of this PR.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions