Skip to content

Commit faf05ac

Browse files
committed
Auto merge of #9057 - roblabla:patch-2, r=ehuss
Unstable section of cargo/config.toml takes bools At least according to a quick local test, those should not be strings, but booleans! With the following cargo config: ```toml [unstable] mtime-on-use = 'yes' ``` I get the following cargo output: ``` error: error in /root/builds/hlab/isengard/agent-rust/.cargo_cache/config: `unstable.mtime-on-use` expected true/false, but found a string ```
2 parents 8e403e5 + 203aac4 commit faf05ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/src/reference/unstable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ config file (`.cargo/config.toml`) in the `unstable` table. For example:
1212

1313
```toml
1414
[unstable]
15-
mtime-on-use = 'yes'
16-
multitarget = 'yes'
17-
timings = 'yes'
15+
mtime-on-use = true
16+
multitarget = true
17+
timings = ["html"]
1818
```
1919

2020
Some unstable features will require you to specify the `cargo-features` key in

0 commit comments

Comments
 (0)