Upgrade remaining components to edition 2018

This commit is contained in:
sagudev 2023-02-18 09:42:37 +01:00
parent fd79367491
commit 9c2cc05a8e
48 changed files with 102 additions and 160 deletions

View file

@ -7,8 +7,10 @@
//! A replacement for `Box<str>` that has a defined layout for FFI.
use crate::owned_slice::OwnedSlice;
use malloc_size_of_derive::MallocSizeOf;
use std::fmt;
use std::ops::{Deref, DerefMut};
use to_shmem_derive::ToShmem;
/// A struct that basically replaces a Box<str>, but with a defined layout,
/// suitable for FFI.