From 30be75c6687f1e03cf867d258b3ddba353cc7aa2 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 19 Sep 2022 11:31:37 +0200 Subject: Renaming `Face` -> `Font` `FaceId` -> `FontId` `SourceFile` -> `Source` --- src/library/utility/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/library/utility') diff --git a/src/library/utility/mod.rs b/src/library/utility/mod.rs index 9c95e60c..bc7c6f25 100644 --- a/src/library/utility/mod.rs +++ b/src/library/utility/mod.rs @@ -12,7 +12,7 @@ pub use string::*; use crate::eval::{Eval, Machine, Scopes}; use crate::library::prelude::*; -use crate::source::SourceFile; +use crate::source::Source; /// The name of a value's type. pub fn type_(_: &mut Machine, args: &mut Args) -> TypResult { @@ -33,7 +33,7 @@ pub fn eval(vm: &mut Machine, args: &mut Args) -> TypResult { let Spanned { v: src, span } = args.expect::>("source")?; // Parse the source and set a synthetic span for all nodes. - let source = SourceFile::synthesized(src, span); + let source = Source::synthesized(src, span); let ast = source.ast()?; // Evaluate the source. -- cgit v1.2.3