We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StringList
1 parent dab42bb commit a0d94ffCopy full SHA for a0d94ff
src/cargo/util/config/mod.rs
@@ -1467,6 +1467,16 @@ pub struct CargoBuildConfig {
1467
pub rustdocflags: Option<StringList>,
1468
}
1469
1470
+/// A type to deserialize a list of strings from a toml file.
1471
+///
1472
+/// Supports deserializing either a whitespace-separated list of arguments in a
1473
+/// single string or a string list itself. For example these deserialize to
1474
+/// equivalent values:
1475
1476
+/// ```
1477
+/// a = 'a b c'
1478
+/// b = ['a', 'b', 'c']
1479
1480
#[derive(Debug)]
1481
pub struct StringList {
1482
list: Vec<String>,
0 commit comments