Promote 'impl' from restricted keyword to strict

This commit is contained in:
Brian Anderson
2012-09-11 19:28:14 -07:00
parent 3d2a74a160
commit be1fdf983f
10 changed files with 18 additions and 19 deletions

View File

@@ -188,13 +188,13 @@ mod global_env {
loop {
match comm::select2(msg_po, weak_po) {
either::Left(MsgGetEnv(n, resp_ch)) => {
comm::send(resp_ch, impl::getenv(n))
comm::send(resp_ch, impl_::getenv(n))
}
either::Left(MsgSetEnv(n, v, resp_ch)) => {
comm::send(resp_ch, impl::setenv(n, v))
comm::send(resp_ch, impl_::setenv(n, v))
}
either::Left(MsgEnv(resp_ch)) => {
comm::send(resp_ch, impl::env())
comm::send(resp_ch, impl_::env())
}
either::Right(_) => break
}
@@ -203,7 +203,7 @@ mod global_env {
}
}
mod impl {
mod impl_ {
extern mod rustrt {
fn rust_env_pairs() -> ~[~str];
}