mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-28 09:18:53 +01:00
073b9968c0
Otherwise Rust 1.53.0 gets confused during `cargo doc` because it thinks we want an actual URL: warning: this URL is not a hyperlink --> src/pretty_printer.rs:331:40 | 331 | /// The title for the input (e.g. "http://example.com/example.txt") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://example.com/example.txt>` | = note: `#[warn(rustdoc::bare_urls)]` on by default = note: bare URLs are not automatically turned into clickable links It was perhaps also a bit confusing to give an URL as an example in the first place, because according to our own API example `examples/inputs.rs` it is meant to be more a free-text thing. |
||
---|---|---|
.. | ||
bin/bat | ||
assets_metadata.rs | ||
assets.rs | ||
config.rs | ||
controller.rs | ||
decorations.rs | ||
diff.rs | ||
error.rs | ||
input.rs | ||
less.rs | ||
lib.rs | ||
line_range.rs | ||
macros.rs | ||
output.rs | ||
pager.rs | ||
paging.rs | ||
preprocessor.rs | ||
pretty_printer.rs | ||
printer.rs | ||
style.rs | ||
syntax_mapping.rs | ||
terminal.rs | ||
wrapping.rs |