diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-31 13:28:28 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-31 13:28:28 -0600 |
commit | a3d602d6e84a91b7656b80e3a7e45caa532b841e (patch) | |
tree | cbedb12fb49f9685cc2512882fe7bc1016b90228 /src/makefile/functions.rs | |
parent | 9666eea62b8cf763027d1f01acbb403c1c6097e0 (diff) | |
download | makers-a3d602d6e84a91b7656b80e3a7e45caa532b841e.tar.gz makers-a3d602d6e84a91b7656b80e3a7e45caa532b841e.zip |
avoid redundancy
Diffstat (limited to 'src/makefile/functions.rs')
-rw-r--r-- | src/makefile/functions.rs | 4 |
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<()>; |