Fix up some unnecessary uses of unsafe.

This commit is contained in:
Eli Friedman 2015-08-11 17:44:21 -07:00
parent da02dba979
commit 94dec69247
8 changed files with 208 additions and 226 deletions

View file

@ -81,15 +81,11 @@ pub enum Command {
Exit(Sender<()>),
}
unsafe impl Send for Command {}
/// Reply messages sent from the font cache task to the FontContext caller.
pub enum Reply {
GetFontTemplateReply(Option<Arc<FontTemplateData>>),
}
unsafe impl Send for Reply {}
/// The font cache task itself. It maintains a list of reference counted
/// font templates that are currently in use.
struct FontCache {