fix(cross-platform): 非 Windows 分支委托给 cfg 配对的桩函数
上一提交内联 false 使非 Windows 版 set_topmost_windows 桩失去调用者, 在 -D warnings 下报 never used。恢复委托调用。
This commit is contained in:
@@ -10,8 +10,7 @@ pub fn set_topmost(window: &gpui_kit::Window, topmost: bool) -> bool {
|
|||||||
}
|
}
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(not(target_os = "windows"))]
|
||||||
{
|
{
|
||||||
let _ = (window, topmost);
|
set_topmost_windows(window, topmost)
|
||||||
false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user