diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-25 11:16:03 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-25 11:16:03 +0200 |
| commit | 3309ff9fe5ea36134e8ddf11ac2c84613b569856 (patch) | |
| tree | b3eb48d444a5dee7273a76c548a64be96d76f0b9 /src/loading/mem.rs | |
| parent | 362a7f2a8ac76f944efa05eabcab0960817777c5 (diff) | |
Slim down context
Diffstat (limited to 'src/loading/mem.rs')
| -rw-r--r-- | src/loading/mem.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/loading/mem.rs b/src/loading/mem.rs index d4c0e7e4..662de100 100644 --- a/src/loading/mem.rs +++ b/src/loading/mem.rs @@ -2,7 +2,6 @@ use std::borrow::Cow; use std::collections::HashMap; use std::io; use std::path::{Path, PathBuf}; -use std::sync::Arc; use super::{FileHash, Loader}; use crate::font::FaceInfo; @@ -31,12 +30,6 @@ impl MemLoader { self } - /// Builder-style method to wrap the loader in an [`Arc`] to make it usable - /// with the [`Context`](crate::Context). - pub fn wrap(self) -> Arc<Self> { - Arc::new(self) - } - /// Insert a path-file mapping. If the data forms a font, then that font /// will be available for layouting. /// |
