This website requires JavaScript.
Explore
Help
Sign in
mathieu
/
os-rust
Watch
1
Star
0
Fork
You've already forked os-rust
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
d760df5aea
os-rust
/
src
/
test
/
pretty
/
do1.rs
6 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Change pretty-exact to pp-exact
2013-02-08 02:56:49 +09:00
// pp-exact
syntax: Pretty-print 'do' correctly
2012-06-29 15:37:17 -07:00
Mass rename uint/int to usize/isize Now that support has been removed, all lingering use cases are renamed.
2015-03-25 17:06:52 -07:00
fn
f
<
F
>
(
f
:
F
)
where
F
:
Fn
(
isize
)
{
f
(
10
)
}
syntax: Pretty-print 'do' correctly
2012-06-29 15:37:17 -07:00
Use `assert_eq!` instead of `assert!` in tests
2015-06-07 21:00:38 +03:00
fn
main
(
)
{
f
(
|
i
|
{
assert_eq!
(
i
,
10
)
}
)
}
Reference in a new issue
Copy permalink