aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/functions.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-31 13:28:28 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-31 13:28:28 -0600
commita3d602d6e84a91b7656b80e3a7e45caa532b841e (patch)
treecbedb12fb49f9685cc2512882fe7bc1016b90228 /src/makefile/functions.rs
parent9666eea62b8cf763027d1f01acbb403c1c6097e0 (diff)
downloadmakers-a3d602d6e84a91b7656b80e3a7e45caa532b841e.tar.gz
makers-a3d602d6e84a91b7656b80e3a7e45caa532b841e.zip
avoid redundancy
Diffstat (limited to 'src/makefile/functions.rs')
-rw-r--r--src/makefile/functions.rs4
1 files changed, 2 insertions, 2 deletions
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<String> {
@@ -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<()>;