Nit: remove push_primary_span, which was never called

This commit is contained in:
Niko Matsakis 2016-04-26 21:08:54 -04:00
parent 883b969909
commit 5db4d620f2

View File

@ -316,10 +316,6 @@ impl MultiSpan {
} }
} }
pub fn push_primary_span(&mut self, span: Span) {
self.primary_spans.push(span);
}
pub fn push_span_label(&mut self, span: Span, label: String) { pub fn push_span_label(&mut self, span: Span, label: String) {
self.span_labels.push((span, label)); self.span_labels.push((span, label));
} }