This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-12-11 08:05:12 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a6d3c82360
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 17:56:49 +00:00
// pp-exact
syntax: Pretty-print 'do' correctly
2012-06-29 22:37:17 +00:00
Mass rename uint/int to usize/isize Now that support has been removed, all lingering use cases are renamed.
2015-03-26 00:06:52 +00:00
fn
f
<
F
>
(
f
:
F
)
where
F
:
Fn
(
isize
)
{
f
(
10
)
}
syntax: Pretty-print 'do' correctly
2012-06-29 22:37:17 +00:00
pprust: Do not print spaces before some tokens
2019-08-25 17:41:52 +00:00
fn
main
(
)
{
f
(
|
i
|
{
assert_eq!
(
i
,
10
)
}
)
}
Reference in New Issue
Copy Permalink