Merge pull request #74 from pythonesque/patch-1
The Send impl for `FontContext` is too forgiving.
This commit is contained in:
commit
e851afd5d9
|
@ -56,7 +56,7 @@ pub struct FontContext<FK> where FK: Clone + Hash + Eq + Ord {
|
|||
}
|
||||
|
||||
// Core Text is thread-safe.
|
||||
unsafe impl<FK> Send for FontContext<FK> where FK: Clone + Hash + Eq + Ord {}
|
||||
unsafe impl<FK> Send for FontContext<FK> where FK: Clone + Hash + Eq + Ord + Send {}
|
||||
|
||||
impl<FK> FontContext<FK> where FK: Clone + Hash + Eq + Ord {
|
||||
/// Creates a new font context instance.
|
||||
|
|
Loading…
Reference in New Issue