mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
config: Derive defaults for Opts. (#35057)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
d5993a0cea
commit
90cbb8abdb
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ use servo_geometry::DeviceIndependentPixel;
|
|||
use servo_url::ServoUrl;
|
||||
|
||||
/// Global flags for Servo, currently set on the command line.
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
|
||||
pub struct Opts {
|
||||
/// Whether or not the legacy layout system is enabled.
|
||||
pub legacy_layout: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue