summary refs log tree commit diff
path: root/src/libsyntax/ext/build.rs
diff options
context:
space:
mode:
authorKasey Carrothers <kaseyc.808@gmail.com>2014-04-06 18:04:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-10 15:22:00 -0700
commit0bf4e900d421f011d7c68016308aab4998f9084e (patch)
treefd128aabc724629c461caa4e8fc79da30a2c1e25 /src/libsyntax/ext/build.rs
parent3f2c55f7d5b5c7717dd12eef4572c52a4e8ff550 (diff)
downloadrust-0bf4e900d421f011d7c68016308aab4998f9084e.tar.gz
rust-0bf4e900d421f011d7c68016308aab4998f9084e.zip
Renamed ast::Purity to ast::FnStyle and ast::ImpureFn to ast::NormalFn and updated associated variable and function names.
Diffstat (limited to 'src/libsyntax/ext/build.rs')
-rw-r--r--src/libsyntax/ext/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs
index b7c12cd4fdc..203edf6590f 100644
--- a/src/libsyntax/ext/build.rs
+++ b/src/libsyntax/ext/build.rs
@@ -825,7 +825,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
                   name,
                   Vec::new(),
                   ast::ItemFn(self.fn_decl(inputs, output),
-                              ast::ImpureFn,
+                              ast::NormalFn,
                               abi::Rust,
                               generics,
                               body))