mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
style: 修 rustfmt 格式化差异
This commit is contained in:
@@ -114,10 +114,7 @@ impl VmPool {
|
||||
/// # 副作用
|
||||
/// - 同步创建 `min_size` 个 Vm。
|
||||
pub fn with_counters(
|
||||
kernel_core: Arc<KernelCore>,
|
||||
min_size: usize,
|
||||
max_size: Option<usize>,
|
||||
counters: Arc<PoolCounters>,
|
||||
kernel_core: Arc<KernelCore>, min_size: usize, max_size: Option<usize>, counters: Arc<PoolCounters>,
|
||||
) -> Arc<Self> {
|
||||
let warm = min_size.min(max_size.unwrap_or(min_size));
|
||||
let pool = Arc::new(Self {
|
||||
|
||||
Reference in New Issue
Block a user