diff options
Diffstat (limited to 'components/config/opts.rs')
-rw-r--r-- | components/config/opts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/config/opts.rs b/components/config/opts.rs index 76edf2cbefe..8c9bf1cbd3b 100644 --- a/components/config/opts.rs +++ b/components/config/opts.rs @@ -913,7 +913,7 @@ lazy_static! { pub fn set_defaults(opts: Opts) { unsafe { assert!(DEFAULT_OPTIONS.is_null()); - assert!(DEFAULT_OPTIONS != INVALID_OPTIONS); + assert_ne!(DEFAULT_OPTIONS, INVALID_OPTIONS); let box_opts = Box::new(opts); DEFAULT_OPTIONS = Box::into_raw(box_opts); } |