summaryrefslogtreecommitdiff
path: root/src/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.rs')
-rw-r--r--src/env.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/env.rs b/src/env.rs
index 58c44a5f..5746dd2f 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -1,22 +1,17 @@
//! Environment interactions.
use std::any::Any;
-use std::cell::RefCell;
use std::collections::{hash_map::Entry, HashMap};
use std::fmt::{self, Debug, Formatter};
use std::fs;
use std::io::Cursor;
use std::path::{Path, PathBuf};
-use std::rc::Rc;
use image::io::Reader as ImageReader;
use image::{DynamicImage, GenericImageView, ImageFormat};
use crate::font::FontLoader;
-/// A reference-counted shared environment.
-pub type SharedEnv = Rc<RefCell<Env>>;
-
/// Encapsulates all environment dependencies (fonts, resources).
#[derive(Debug)]
pub struct Env {