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.
1 parent 606b584 commit 097ac62Copy full SHA for 097ac62
rust/src/headless.rs
@@ -98,6 +98,11 @@ impl InitializationOptions {
98
}
99
100
/// A license to override with, you can use this to make sure you initialize with a specific license.
101
+ ///
102
+ /// This takes the form of a JSON array. The string should be formed like:
103
+ /// ```json
104
+ /// [{ /* json object with license data */ }]
105
+ /// ```
106
pub fn with_license(mut self, license: impl Into<String>) -> Self {
107
self.license = Some(license.into());
108
self
0 commit comments