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
226fd87199
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
(
)
{
Change syntax extension syntax: `#m[...]` -> `m!{...}`.
2012-07-30 18:01:07 -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