@@ -117,13 +117,14 @@ impl Basic {
117117 }
118118 }
119119
120- /// Outputs [ error] encountered while parsing some [`Feature`].
120+ /// Outputs the parsing ` error` encountered while parsing some [`Feature`].
121121 ///
122- /// [error]: event::Cucumber::ParsingError
123122 /// [`Feature`]: gherkin::Feature
124- fn parsing_failed ( & self , err : impl Display ) {
125- self . write_line ( & self . styles . err ( format ! ( "Failed to parse: {}" , err) ) )
126- . unwrap ( ) ;
123+ fn parsing_failed ( & self , error : impl Display ) {
124+ self . write_line (
125+ & self . styles . err ( format ! ( "Failed to parse: {}" , error) ) ,
126+ )
127+ . unwrap ( ) ;
127128 }
128129
129130 /// Outputs [started] [`Feature`] to STDOUT.
@@ -145,6 +146,7 @@ impl Basic {
145146 /// [finished]: event::Rule::Finished
146147 /// [scenario]: event::Rule::Scenario
147148 /// [started]: event::Rule::Started
149+ /// [`Rule`]: gherkin::Rule
148150 fn rule < W : Debug > (
149151 & mut self ,
150152 feat : & gherkin:: Feature ,
@@ -184,7 +186,7 @@ impl Basic {
184186
185187 /// Outputs [`Scenario`] [started]/[background]/[step] event to STDOUT.
186188 ///
187- /// [background]: event::Background
189+ /// [background]: event::Scenario:: Background
188190 /// [started]: event::Scenario::Started
189191 /// [step]: event::Step
190192 /// [`Scenario`]: gherkin::Scenario
@@ -306,7 +308,7 @@ impl Basic {
306308 /// This [`Step`] is printed only if terminal is present and gets
307309 /// overwritten by later [passed]/[skipped]/[failed] events.
308310 ///
309- /// [started ]: event::Step::Started
311+ /// [failed ]: event::Step::Failed
310312 /// [passed]: event::Step::Passed
311313 /// [skipped]: event::Step::Skipped
312314 /// [started]: event::Step::Started
@@ -489,7 +491,7 @@ impl Basic {
489491 /// This [`Step`] is printed only if terminal is present and gets
490492 /// overwritten by later [passed]/[skipped]/[failed] events.
491493 ///
492- /// [started ]: event::Step::Started
494+ /// [failed ]: event::Step::Failed
493495 /// [passed]: event::Step::Passed
494496 /// [skipped]: event::Step::Skipped
495497 /// [started]: event::Step::Started
0 commit comments