style: Appease tidy.

This commit is contained in:
Emilio Cobos Álvarez 2019-05-25 03:19:12 +02:00
parent 81f40a57e4
commit e3e826d4fb
3 changed files with 9 additions and 6 deletions

View file

@ -13,7 +13,7 @@ use std::ops::{Deref, DerefMut};
/// A struct that basically replaces a Box<str>, but with a defined layout,
/// suitable for FFI.
#[repr(C)]
#[derive(Default, Clone, PartialEq, Eq, MallocSizeOf, ToShmem)]
#[derive(Clone, Default, Eq, MallocSizeOf, PartialEq, ToShmem)]
pub struct OwnedStr(OwnedSlice<u8>);
impl fmt::Debug for OwnedStr {