Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Sep 5, 2015
2 parents 04888ff + 96651c4 commit b1b7277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Syntex Code Generation Framework
[![Latest Version](https://img.shields.io/crates/v/syntex.svg)](https://crates.io/crates/syntex)

`syntex` is a library that enables compile time syntax extension expansion.
This allows users to use libraries like [regex\_macros]() in a rust 1.0
compatible context.
This allows users to use libraries like [serde](https://github.com/serde-rs/serde)
on stable Rust.

Configuring with Cargo
======================
Expand Down
3 changes: 1 addition & 2 deletions syntex_syntax/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#![allow(unused_imports)]
use self::HasTestSignature::*;

use std::iter;
use std::slice;
use std::mem;
use std::vec;
Expand Down Expand Up @@ -225,7 +224,7 @@ impl fold::Folder for EntryPointCleaner {
.filter(|attr| {
!attr.check_name("main") && !attr.check_name("start")
})
.chain(iter::once(allow_dead_code))
.chain(Some(allow_dead_code))
.collect(),
node: node,
vis: vis,
Expand Down

0 comments on commit b1b7277

Please sign in to comment.