]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #50306 - alexcrichton:inline-policy, r=sfackler
authorbors <bors@rust-lang.org>
Sun, 29 Apr 2018 09:22:10 +0000 (09:22 +0000)
committerbors <bors@rust-lang.org>
Sun, 29 Apr 2018 09:22:10 +0000 (09:22 +0000)
std: Inline `DefaultResizePolicy::new`

This should allow us to tighten up the [codegen][example] a bit more, avoiding a
function call across object boundaries in the default optimized case.

[example]: https://play.rust-lang.org/?gist=c1179088b0f8a4dcd93a9906463f993d&version=stable&mode=release


Trivial merge