This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
82ccba1fd7
rust
/
tests
/
run-make
/
rustdoc-scrape-examples-whitespace
/
examples
/
ex.rs
11 lines
99 B
Rust
Raw
Normal View
History
Unescape
Escape
Include all contents of first line of scraped item
2022-02-01 17:03:22 -08:00
struct
Foo
;
impl
Foo
{
Run rustfmt on `tests/run-make/`. With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
2024-05-29 15:01:33 +10:00
fn
bar
(
)
{
foobar
::
ok
(
)
;
}
Include all contents of first line of scraped item
2022-02-01 17:03:22 -08:00
}
fn
main
(
)
{
Run rustfmt on `tests/run-make/`. With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
2024-05-29 15:01:33 +10:00
Foo
::
bar
(
)
;
Include all contents of first line of scraped item
2022-02-01 17:03:22 -08:00
}
Reference in a new issue
Copy permalink