Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 3b8141a

Browse files
author
bors-servo
committed
Auto merge of #51 - servo:rustup, r=jdm
Upgrade to rustc 1.8.0-nightly (0ef8d4260 2016-02-24) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/heapsize/51) <!-- Reviewable:end -->
2 parents 75be4e2 + 47d4aba commit 3b8141a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "heapsize_plugin"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
authors = ["The Servo Project Developers"]
55
description = "Automatically generating infrastructure for measuring the total runtime size of an object on the heap"
66
license = "MPL-2.0"

plugin/src/heap_size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
4949
/// Defines how the implementation for `heap_size_of_children()` is to be generated.
5050
fn heap_size_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure) -> P<Expr> {
5151
let fields = match *substr.fields {
52-
Struct(ref fs) | EnumMatching(_, _, ref fs) => fs,
52+
Struct(_, ref fs) | EnumMatching(_, _, ref fs) => fs,
5353
_ => cx.span_bug(trait_span, "impossible substructure in `#[derive(HeapSizeOf)]`")
5454
};
5555

0 commit comments

Comments
 (0)