mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Fix up some unnecessary uses of unsafe
.
This commit is contained in:
parent
da02dba979
commit
94dec69247
8 changed files with 208 additions and 226 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue