Changed to create immutable Vec

This commit is contained in:
Toothbrush 2015-11-16 17:33:39 +00:00
parent 081b1e93a1
commit 3cfd65f5e1

View file

@ -618,7 +618,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
let name = "compositor-task";
// These are both `ExplicitUnknownLocationSize` because the memory might be in the
// GPU or on the heap.
let mut reports = vec![mem::Report {
let reports = vec![mem::Report {
path: path![name, "surface-map"],
kind: ReportKind::ExplicitUnknownLocationSize,
size: self.surface_map.mem(),