diff --git a/src/libcore/dvec.rs b/src/libcore/dvec.rs index fe3fe804c8b..1a46d630d4f 100644 --- a/src/libcore/dvec.rs +++ b/src/libcore/dvec.rs @@ -212,13 +212,13 @@ impl extensions for dvec { } #[doc = "Copy out an individual element"] - #[inline] + #[inline(always)] fn [](idx: uint) -> A { self.get_elt(idx) } #[doc = "Copy out an individual element"] - #[inline] + #[inline(always)] fn get_elt(idx: uint) -> A { self.check_not_borrowed(); ret self.data[idx];