diff --git a/src/servo/opts.rs b/src/servo/opts.rs index 59f01b418cb..e3bfb6661fb 100644 --- a/src/servo/opts.rs +++ b/src/servo/opts.rs @@ -1,10 +1,10 @@ //! Configuration options for a single run of the servo application. Created //! from command line arguments. -pub type Opts = { +pub struct Opts { urls: ~[~str], render_mode: RenderMode -}; +} pub enum RenderMode { Screen, @@ -37,7 +37,7 @@ pub fn from_cmdline_args(args: &[~str]) -> Opts { None => { Screen } }; - { + Opts { urls: move urls, render_mode: move render_mode }