This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
8d381823e2
rust
/
src
/
test
/
run-pass
/
import2.rs
10 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition.
2011-05-12 10:24:54 -05:00
import
zed
::
bar
;
Add sufficient import support to compile some simple single-crate programs. This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step.
2011-01-07 16:38:13 -06:00
mod
zed
{
fn
bar
(
)
{
log
"
bar
"
;
}
}
fn
main
(
vec
[
str
]
args
)
{
bar
(
)
;
}
Reference in New Issue
Copy Permalink