summaryrefslogtreecommitdiff
path: root/rust/src/headless.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/headless.rs')
-rw-r--r--rust/src/headless.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/headless.rs b/rust/src/headless.rs
index 1e56321b..5910cd85 100644
--- a/rust/src/headless.rs
+++ b/rust/src/headless.rs
@@ -212,7 +212,7 @@ pub fn init_with_opts(options: InitializationOptions) -> Result<(), Initializati
}
}
- if let Some(license) = options.license {
+ if let Some(license) = &options.license {
// We were given a license override, use it!
set_license(Some(license));
}