1
Fork 0

libsyntax: Long lines.

This commit is contained in:
Luqman Aden 2013-02-17 05:24:57 -05:00
parent de57bacf43
commit baeac2f9ac
2 changed files with 12 additions and 6 deletions

View file

@ -33,7 +33,8 @@ pub trait gen_send {
pub trait to_type_decls {
fn to_type_decls(&self, cx: ext_ctxt) -> ~[@ast::item];
fn to_endpoint_decls(&self, cx: ext_ctxt, dir: direction) -> ~[@ast::item];
fn to_endpoint_decls(&self, cx: ext_ctxt,
dir: direction) -> ~[@ast::item];
}
pub trait gen_init {
@ -253,7 +254,8 @@ pub impl to_type_decls for state {
]
}
fn to_endpoint_decls(&self, cx: ext_ctxt, dir: direction) -> ~[@ast::item] {
fn to_endpoint_decls(&self, cx: ext_ctxt,
dir: direction) -> ~[@ast::item] {
debug!("pipec: to_endpoint_decls");
let dir = match dir {
send => (*self).dir,