diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-11 19:28:14 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-11 19:28:44 -0700 |
| commit | be1fdf983f83fe9d0d28aabf844cbf8be9af6e9a (patch) | |
| tree | 4cff9909111d9605499895ca3642257070cfd4ca /src/libcore | |
| parent | 3d2a74a160c5772efccda711e60c173077099ef2 (diff) | |
Promote 'impl' from restricted keyword to strict
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/os.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/os.rs b/src/libcore/os.rs index 7201b2a236d..a06ba417531 100644 --- a/src/libcore/os.rs +++ b/src/libcore/os.rs @@ -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]; } |
