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
12c32e944d
rust
/
src
/
test
/
run-pass
/
fn-bare-item.rs
7 lines
73 B
Rust
Raw
Normal View
History
Unescape
Escape
Remove temporary fn# syntax
2011-10-20 22:34:04 -05:00
fn
f
(
)
{
`m1!{...}` -> `m1!(...)`
2012-08-22 19:24:52 -05:00
debug!
(
"
This is a bare function
"
)
;
Add a temporary syntax for bare functions Bare functions will be represented as 'fn#' until they're implemented. Then we'll switch it over to just 'fn'. Issue #1022
2011-10-10 14:42:27 -05:00
}
fn
main
(
)
{
f
(
)
;
}
Reference in New Issue
Copy Permalink