1
0
mirror of synced 2025-12-12 08:08:16 +08:00

fix(rust): [cr_id_skip] Fix compilation exceptions

修复rust编译异常
This commit is contained in:
tqq1994516
2024-10-29 07:38:00 +00:00
parent e06fc2db93
commit 36861f5b68
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,8 @@ fn main() {
while i < times {
i += 1;
YitIdHelper::NextId();
id = YitIdHelper::NextId();
println!("id: {}", id);
// if multiThread { // 这是多线程
// thread::spawn(move || {