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
/
use-trait-before-def.rs
5 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Make sure iface_methods are set before they are accessed Closes #1761
2012-02-06 02:51:03 -06:00
// Issue #1761
Convert impls to new syntax
2012-08-07 20:10:06 -05:00
impl
int
:
foo
{
fn
foo
(
)
->
int
{
10
}
}
Change remaining "iface" occurrences to "trait"; deprecate "iface"
2012-07-31 12:27:51 -05:00
trait
foo
{
fn
foo
(
)
->
int
;
}
Make sure iface_methods are set before they are accessed Closes #1761
2012-02-06 02:51:03 -06:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink