mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 13:23:53 +08:00
common: remove deprecated methods
This commit is contained in:
parent
b583c51238
commit
0a48f4b55c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user