From a3d602d6e84a91b7656b80e3a7e45caa532b841e Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 31 Mar 2021 13:28:28 -0600 Subject: avoid redundancy --- src/makefile/functions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/makefile/functions.rs') diff --git a/src/makefile/functions.rs b/src/makefile/functions.rs index c73d7e7..005f906 100644 --- a/src/makefile/functions.rs +++ b/src/makefile/functions.rs @@ -1,5 +1,5 @@ use super::pattern::r#match; -use super::r#macro::{MacroSet, MacroSource}; +use super::r#macro::{Set as MacroSet, Source as MacroSource}; use super::token::TokenString; pub fn expand_call(name: &str, args: &[TokenString], macros: &MacroSet) -> anyhow::Result { @@ -242,7 +242,7 @@ mod call { mod test { use super::*; - use crate::makefile::r#macro::{MacroSet, MacroSource}; + use crate::makefile::r#macro::{Set as MacroSet, Source as MacroSource}; type R = anyhow::Result<()>; -- cgit v1.2.3