diff --git a/src/lib.rs b/src/lib.rs index d201937..56ea1f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,6 +110,7 @@ pub fn rle_decode_simple( /// /// Note that the generic bounds were replaced by an explicit a..b range. /// This is so that we can compile this on older toolchains (< 1.28). +#[inline(always)] fn append_from_within(seif: &mut Vec, src: ops::Range) where T: Copy, { assert!(src.start <= src.end, "src end is before src start"); assert!(src.end <= seif.len(), "src is out of bounds");