Remove no-op Drop implementation from FontTable

This is no longer necessary for opting out of the Copy trait.
This commit is contained in:
Matt Brubeck 2015-08-28 10:43:04 -07:00
parent 72125f070d
commit 998bec30cf

View file

@ -33,11 +33,6 @@ pub struct FontTable {
data: CFData,
}
// Noncopyable.
impl Drop for FontTable {
fn drop(&mut self) {}
}
impl FontTable {
pub fn wrap(data: CFData) -> FontTable {
FontTable { data: data }