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
fd8aa5ec7d
rust
/
tests
/
pretty
/
do1.rs
6 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Change pretty-exact to pp-exact
2013-02-07 11:56:49 -06:00
// pp-exact
syntax: Pretty-print 'do' correctly
2012-06-29 17:37:17 -05:00
Mass rename uint/int to usize/isize Now that support has been removed, all lingering use cases are renamed.
2015-03-25 19:06:52 -05:00
fn
f
<
F
>
(
f
:
F
)
where
F
:
Fn
(
isize
)
{
f
(
10
)
}
syntax: Pretty-print 'do' correctly
2012-06-29 17:37:17 -05:00
pprust: Do not print spaces before some tokens
2019-08-25 12:41:52 -05:00
fn
main
(
)
{
f
(
|
i
|
{
assert_eq!
(
i
,
10
)
}
)
}
Reference in New Issue
Copy Permalink