diff options
Diffstat (limited to 'components/util/opts.rs')
-rw-r--r-- | components/util/opts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/opts.rs b/components/util/opts.rs index 1689321fa6e..6bd1882b94e 100644 --- a/components/util/opts.rs +++ b/components/util/opts.rs @@ -297,7 +297,7 @@ pub fn from_cmdline_args(args: &[String]) -> bool { } }; - let render_api = match opt_match.opt_str("r").unwrap_or("gl".to_string()).as_slice() { + let render_api = match opt_match.opt_str("r").unwrap_or("gl".into_string()).as_slice() { "mesa" => RenderApi::Mesa, "gl" => RenderApi::OpenGL, _ => { |