mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Appease tidy.
This commit is contained in:
parent
81f40a57e4
commit
e3e826d4fb
3 changed files with 9 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue