1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-03-25 20:18:36 +00:00
Martin Nordholts 073b9968c0 pretty_printer.rs: Don't use a URL as an example Input title
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.
2021-06-28 07:10:30 +02:00
..
2021-03-17 21:10:16 +01:00
2020-04-24 16:11:05 +02:00
2021-05-27 12:05:07 +02:00
2020-04-22 23:55:28 +02:00
2021-03-07 14:59:10 +01:00
2021-06-13 22:08:56 +02:00
2020-04-24 16:11:05 +02:00
2020-12-28 09:27:40 +01:00
2021-05-27 12:05:07 +02:00
2020-04-22 23:55:28 +02:00
2021-05-27 12:05:07 +02:00