about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.c
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-05 20:50:53 -0700
committerbors <bors@rust-lang.org>2013-09-05 20:50:53 -0700
commitf05119673125efdd86ab53765d4571b5e757cf3a (patch)
tree493de0205a2808856903936d48f2be08a82a7bd1 /src/rt/jemalloc/test/aligned_alloc.c
parenta980f28028f4712efbb89017bd23c25183fddbfe (diff)
parent59291eb197fad9a0fe3e94afda826f3abf1761ab (diff)
downloadrust-f05119673125efdd86ab53765d4571b5e757cf3a.tar.gz
rust-f05119673125efdd86ab53765d4571b5e757cf3a.zip
auto merge of #8909 : lkuper/rust/default-methods-refactor, r=alexcrichton
 (cc: #3227)

Parts I'm unsure about and would like a reviewer to look at are:

  * `pub trait GenericPath : Clone + Eq + ToStr` -- is this the done thing?  I've never done trait inheritance before, let alone from multiple traits, but it seemed to be necessary to be able to call all the methods we have to be able to call on `self`.

  * changing the argument of `components` from `self` to `&self`, and having it return `self.components.clone()` instead of `self.components`; this was necessary to avoid move errors, but I'm not sure if it's the right thing.  (The default methods impls now all have to call `self.components()` instead of just referencing the field `self.components`.)
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions