File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -465,9 +465,9 @@ impl MDWriter<'_, '_> {
465465 /// # Errors
466466 /// Returns an error if the writer fails.
467467 fn options ( & mut self ) -> io:: Result < ( ) > {
468- writeln ! ( self . w, "" ) ?;
468+ writeln ! ( self . w) ?;
469469 writeln ! ( self . w, "## Options" ) ?;
470- writeln ! ( self . w, "" ) ?;
470+ writeln ! ( self . w) ?;
471471 write ! ( self . w, "<dl>" ) ?;
472472 for arg in self . command . get_arguments ( ) {
473473 write ! ( self . w, "<dt>" ) ?;
Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ fn test_markdown_header_format() {
144144 let docs_path = "docs/src/utils/cat.md" ;
145145
146146 if fs:: metadata ( docs_path) . is_ok ( ) {
147- let content = fs :: read_to_string ( docs_path )
148- . expect ( "Failed to read generated markdown file" ) ;
147+ let content =
148+ fs :: read_to_string ( docs_path ) . expect ( "Failed to read generated markdown file" ) ;
149149
150150 // Verify Options header is in markdown format (## Options)
151151 assert ! (
You can’t perform that action at this time.
0 commit comments