common: remove deprecated methods

This commit is contained in:
Johannes Altmanninger 2023-10-08 20:07:24 +02:00
parent b583c51238
commit 0a48f4b55c

View File

@ -1246,16 +1246,6 @@ pub fn should_suppress_stderr_for_tests() -> bool {
.unwrap_or_default()
}
#[deprecated(note = "Use threads::assert_is_main_thread() instead")]
pub fn assert_is_main_thread() {
crate::threads::assert_is_main_thread()
}
#[deprecated(note = "Use threads::assert_is_background_thread() instead")]
pub fn assert_is_background_thread() {
crate::threads::assert_is_background_thread()
}
/// Format the specified size (in bytes, kilobytes, etc.) into the specified stringbuffer.
#[widestrs]
pub fn format_size(mut sz: i64) -> WString {