diff options
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 8d64a1d73bc..ff3a6b9e626 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -111,7 +111,7 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static { storage_task); // Send the URL command to the constellation. - let cwd = os::getcwd(); + let cwd = os::getcwd().unwrap(); for url in opts.urls.iter() { let url = match url::Url::parse(url.as_slice()) { Ok(url) => url, |