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
ffa77dd610
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
(
)
{
Register snapshots and switch logging over to use of log_full or #error / #debug.
2011-12-22 16:42:52 -06: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