summaryrefslogtreecommitdiff
path: root/tor-netdoc/src/util/str.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-181-3/+3
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* Resolve clippy warnings from Rust 1.52.Nick Mathewson2021-05-071-10/+6
| | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them.
* Remember the position of authcert and microdescsNick Mathewson2020-11-141-0/+1
| | | | | We'll need this to save them to disk after parsing them from an upstream source.
* netdoc: Add a bogus "Extent()" facility to remember where things were.Nick Mathewson2020-11-141-0/+126
Also add the missing str.rs file (oops)