]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3153.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / issue-3153.rs
1 // rustfmt-wrap_comments: true
2
3 /// This may panic if:
4 /// - there are fewer than `max_header_bytes` bytes preceding the body
5 /// - there are fewer than `max_footer_bytes` bytes following the body
6 /// - the sum of the body bytes and post-body bytes is less than the sum of
7 ///   `min_body_and_padding_bytes` and `max_footer_bytes` (in other words, the
8 ///   minimum body and padding byte requirement is not met)
9 fn foo() {}