Reformat code with latest cargo fmt

This commit is contained in:
Zhiming Wang
2020-06-02 17:54:31 +08:00
parent fdea9d77e7
commit 307f52c002
11 changed files with 46 additions and 27 deletions

View File

@ -18,7 +18,8 @@ impl Range {
}
unsafe {
let ptr = av_color_range_name((*self).into());
ptr.as_ref().map(|ptr| from_utf8_unchecked(CStr::from_ptr(ptr).to_bytes()))
ptr.as_ref()
.map(|ptr| from_utf8_unchecked(CStr::from_ptr(ptr).to_bytes()))
}
}
}