mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Fix clippy lints (#2111)
* Fix indentation of docs in extracted_files.rs Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Optimize parse_header_retry_after Use next_back instead of last Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Fix doc indentation in cargo_config.rs Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --------- Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
9c0726d197
commit
b49bcb7a16
3 changed files with 13 additions and 13 deletions
|
@ -86,9 +86,9 @@ impl Config {
|
|||
}
|
||||
|
||||
/// * `dir` - path to the dir where the config.toml is located.
|
||||
/// For relative path in the config, `Config::load_from_reader`
|
||||
/// will join the `dir` and the relative path to form the final
|
||||
/// path.
|
||||
/// For relative path in the config, `Config::load_from_reader`
|
||||
/// will join the `dir` and the relative path to form the final
|
||||
/// path.
|
||||
pub fn load_from_reader<R: io::Read>(
|
||||
mut reader: R,
|
||||
dir: &Path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue