@@ -160,10 +160,10 @@ impl<'a> PrettyPrinter<'a> {
160160 self
161161 }
162162
163− /// Pretty-print all specified inputs. This method will drain all stored inputs.
164− /// If you want to call 'run' multiple times, you have to call the appropriate
163+ /// Pretty-print all specified inputs. This method will "use" all stored inputs.
164+ /// If you want to call 'print' multiple times, you have to call the appropriate
165165 /// input_* methods again.
166− pub fn run(&mut self) -> Result<bool> {
166+ pub fn print(&mut self) -> Result<bool> {
167167 self.config.highlighted_lines =
168168 HighlightedLineRanges(LineRanges::from(self.highlighted_lines.clone()));
169169