Remove the last remaining support for "experimental" features.

This code has not been used for quite a while.
This commit is contained in:
Ms2ger 2016-06-03 12:53:23 +02:00
parent 6c5f5d35f5
commit 765b1a8c6e

View file

@ -849,15 +849,6 @@ pub enum ArgumentParsingResult {
ContentProcess(String),
}
static EXPERIMENTAL_ENABLED: AtomicBool = ATOMIC_BOOL_INIT;
/// Turn on experimental features globally. Normally this is done
/// during initialization by `set` or `from_cmdline_args`, but
/// tests that require experimental features will also set it.
pub fn set_experimental_enabled(new_value: bool) {
EXPERIMENTAL_ENABLED.store(new_value, Ordering::SeqCst);
}
// Make Opts available globally. This saves having to clone and pass
// opts everywhere it is used, which gets particularly cumbersome
// when passing through the DOM structures.