diff --git a/src/lib.rs b/src/lib.rs index 234bc1f1..e6cfd4c8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,7 +14,7 @@ //! PrettyPrinter::new() //! .input_from_bytes(b"Hello world!\n") //! .language("html") -//! .run() +//! .print() //! .expect("no errors"); //! ```