aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/heap_size.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-06-02 07:30:37 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-06-03 07:14:23 +0530
commit2551cce51e157f74a6ea247616f8e8d8596a5473 (patch)
tree752f334e2d4c704a1660bc832970bae227809579 /components/plugins/heap_size.rs
parent13b4bcfbb7ce7a7337d28e30a8a6a2954dd14e50 (diff)
downloadservo-2551cce51e157f74a6ea247616f8e8d8596a5473.tar.gz
servo-2551cce51e157f74a6ea247616f8e8d8596a5473.zip
address review comments
Diffstat (limited to 'components/plugins/heap_size.rs')
-rw-r--r--components/plugins/heap_size.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/plugins/heap_size.rs b/components/plugins/heap_size.rs
index c59a89b8904..956888fc712 100644
--- a/components/plugins/heap_size.rs
+++ b/components/plugins/heap_size.rs
@@ -22,7 +22,7 @@ use syntax::ext::build::AstBuilder;
use syntax::ext::deriving::generic::*;
pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
- item: Annotatable, push: &mut FnMut(Annotatable)) {
+ item: Annotatable, push: &mut FnMut(Annotatable)) {
let trait_def = TraitDef {
span: span,
attributes: Vec::new(),
@@ -61,7 +61,7 @@ fn heap_size_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substruct
MetaNameValue(..) => (),
_ => cx.span_err(a.span, "#[ignore_heap_size_of] \
should have an explanation, \
- e.g. #[ignore_heap_size_of = \"foo\"]")
+ e.g. #[ignore_heap_size_of = \"\"]")
}
true
} else {