Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
1f9353ae2ca81b0a508e38751b0d3ab213526f56
rust/tests/coverage/while.rs

7 lines
80 B
Rust
Raw Normal View History

Rust coverage before splitting instrument_coverage.rs
2020-10-05 16:36:10 -07:00
fn main() {
let num = 9;
while num >= 10 {
coverage: Tweak individual tests to be unaffected by `rustfmt` Some of these tests use non-standard formatting that we can simulate by strategically adding `//` line comments. One contains `where` clauses that would be split across multiple lines, which we can keep on one line by moving the bounds to the generic type instead.
2024-01-16 14:12:10 +11:00
// loop body
Rust coverage before splitting instrument_coverage.rs
2020-10-05 16:36:10 -07:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 768ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API