Skip to content

Commit c3beb03

Browse files
authored
Formatting
1 parent c6cda15 commit c3beb03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustdoc/doctest.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,9 @@ fn partition_source(s: &str, edition: Edition) -> (String, String, String) {
795795
// If not, then we append the new line into the pending attribute to check
796796
// if this time it's complete...
797797
mod_attr_pending.push_str(line);
798-
if !trimline.is_empty() && check_if_attr_is_complete(&mod_attr_pending, edition) {
798+
if !trimline.is_empty()
799+
&& check_if_attr_is_complete(&mod_attr_pending, edition)
800+
{
799801
// If it's complete, then we can clear the pending content.
800802
mod_attr_pending.clear();
801803
}

0 commit comments

Comments
 (0)