1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

rename run => print

This commit is contained in:
sharkdp
2020-04-22 20:33:19 +02:00
committed by David Peter
parent eee35e54e9
commit f034be71e7
4 changed files with 9 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
//! `bat` is a library to print syntax highlighted content.
//!
//! The main struct is `PrettyPrinter` which can be used to configure and
//! run the syntax highlighting.
//! The main struct of this crate is `PrettyPrinter` which can be used to
//! configure and run the syntax highlighting.
//!
//! If you need more control, you can also use the structs in the submodules
//! (start with `controller::Controller`), but note that the API of these
//! internal modules much more likely to change.
//! internal modules is much more likely to change.
//!
//! "Hello world" example:
//! ```