]> git.lizzy.rs Git - rust.git/commit
auto merge of #8183 : omasanori/rust/migrate-new, r=sanxiyn
authorbors <bors@rust-lang.org>
Mon, 5 Aug 2013 13:22:57 +0000 (06:22 -0700)
committerbors <bors@rust-lang.org>
Mon, 5 Aug 2013 13:22:57 +0000 (06:22 -0700)
commitc2bacd2e803c8432d9ad051c39c7e3b3f70f193e
treea9d6df653503a77808741924e2d0afe81157774f
parentdbaca98d78f1458485b36b2565593d7d13e1c90f
parenteab97b5558d001136179aeb1d4e478670a43d54a
auto merge of #8183 : omasanori/rust/migrate-new, r=sanxiyn

It seems that relatively new code uses `Foo::new()` instead of `Foo()` so I wrote a patch to migrate some structs to the former style.
Is it a right direction? If there are any guidelines not to use new()-style, could you add them to the [style guide](https://github.com/omasanori/rust/wiki/Note-style-guide)?