diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2018-11-04 16:44:28 -0600 |
|---|---|---|
| committer | QuietMisdreavus <grey@quietmisdreavus.net> | 2018-11-04 16:44:28 -0600 |
| commit | 560a01c795923d7ae9e4dafa8bce7261d6450ade (patch) | |
| tree | 9c8ec9cdcdbbca333d9989eb3cfb80eb0d7b455d | |
| parent | d0c93857815e239e0ad6bde47851cedce0eb0eb8 (diff) | |
| download | rust-560a01c795923d7ae9e4dafa8bce7261d6450ade.tar.gz rust-560a01c795923d7ae9e4dafa8bce7261d6450ade.zip | |
fix formatting
| -rw-r--r-- | src/librustdoc/config.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index 9384b46f222..903aafed641 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -525,9 +525,9 @@ fn check_deprecated_options(matches: &getopts::Matches, diag: &errors::Handler) /// Extracts `--extern-html-root-url` arguments from `matches` and returns a map of crate names to /// the given URLs. If an `--extern-html-root-url` argument was ill-formed, returns an error /// describing the issue. -fn parse_extern_html_roots(matches: &getopts::Matches) - -> Result<BTreeMap<String, String>, &'static str> -{ +fn parse_extern_html_roots( + matches: &getopts::Matches, +) -> Result<BTreeMap<String, String>, &'static str> { let mut externs = BTreeMap::new(); for arg in &matches.opt_strs("extern-html-root-url") { let mut parts = arg.splitn(2, '='); |
