mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 22:56:37 +00:00
Fix doc indentation in cargo_config.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
514151163b
commit
56e3834a46
1 changed files with 3 additions and 3 deletions
|
@ -86,9 +86,9 @@ impl Config {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// * `dir` - path to the dir where the config.toml is located.
|
/// * `dir` - path to the dir where the config.toml is located.
|
||||||
/// For relative path in the config, `Config::load_from_reader`
|
/// For relative path in the config, `Config::load_from_reader`
|
||||||
/// will join the `dir` and the relative path to form the final
|
/// will join the `dir` and the relative path to form the final
|
||||||
/// path.
|
/// path.
|
||||||
pub fn load_from_reader<R: io::Read>(
|
pub fn load_from_reader<R: io::Read>(
|
||||||
mut reader: R,
|
mut reader: R,
|
||||||
dir: &Path,
|
dir: &Path,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue