From 66bda8382f60e9bfe0d0db6b7a69e276c69080b3 Mon Sep 17 00:00:00 2001 From: Arlo Siemsen Date: Wed, 16 Aug 2023 13:25:17 -0500 Subject: [PATCH] Update config.md with array merging information --- src/doc/src/reference/config.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doc/src/reference/config.md b/src/doc/src/reference/config.md index d1f2b04d35e..1c09300bb26 100644 --- a/src/doc/src/reference/config.md +++ b/src/doc/src/reference/config.md @@ -28,7 +28,8 @@ with a configuration file in your home directory. If a key is specified in multiple config files, the values will get merged together. Numbers, strings, and booleans will use the value in the deeper config directory taking precedence over ancestor directories, where the -home directory is the lowest priority. Arrays will be joined together. +home directory is the lowest priority. Arrays will be joined together +with higher precedence items being placed later in the merged array. At present, when being invoked from a workspace, Cargo does not read config files from crates within the workspace. i.e. if a workspace has two crates in