diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-01-24 16:48:24 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-01-24 17:39:49 +0100 |
| commit | 3739ab77207e0e54edb55a110a16a1eb925b84f4 (patch) | |
| tree | 06c8e5987d2fe070ad273ef94641161bbaef7095 /src/source.rs | |
| parent | db158719d67fdef1d2c76300fb232cf2d4bfb35d (diff) | |
Export into rendered images
Diffstat (limited to 'src/source.rs')
| -rw-r--r-- | src/source.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/source.rs b/src/source.rs index 1e0be450..fd42c3f7 100644 --- a/src/source.rs +++ b/src/source.rs @@ -6,8 +6,6 @@ use std::ops::Range; use std::path::{Path, PathBuf}; use std::rc::Rc; -use serde::{Deserialize, Serialize}; - use crate::diag::TypResult; use crate::loading::{FileHash, Loader}; use crate::parse::{is_newline, parse, Reparser, Scanner}; @@ -19,7 +17,7 @@ use crate::util::{PathExt, StrExt}; use codespan_reporting::files::{self, Files}; /// A unique identifier for a loaded source file. -#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, Serialize, Deserialize)] +#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] pub struct SourceId(u32); impl SourceId { |
