Commit 3830c0c
committed
Auto merge of rust-lang#13957 - iawia002:docs, r=weihanglo
Fix wrong type of rustc-flags in documentation
When I tried to add some custom configuration according to the documentation in https://doc.rust-lang.org/cargo/reference/config.html#configuration-format, I encountered the following error:
```
error: expected a string, but found a array for `rustc-flags` in /xxx/.cargo/config.toml
```
I believe the type of `rustc-flags` should be a string:
https://github.com/rust-lang/cargo/blob/95b921ba592ec968d4638e124f5273bb42a25528/src/doc/src/reference/config.md?plain=1#L1243-L12531 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments