Add inline attributes and add unit to CommonTypes

This commit is contained in:
John Kåre Alsaker 2018-11-29 21:13:04 +01:00
parent 3dde9e1322
commit 4cce4ffdef
9 changed files with 57 additions and 1 deletions

View file

@ -587,6 +587,7 @@ impl fmt::Debug for SpanData {
}
impl MultiSpan {
#[inline]
pub fn new() -> MultiSpan {
MultiSpan {
primary_spans: vec![],