fix(rust): [cr_id_skip] Fix compilation exceptions
修复rust编译异常
This commit is contained in:
@@ -31,7 +31,8 @@ fn main() {
|
||||
|
||||
while i < times {
|
||||
i += 1;
|
||||
YitIdHelper::NextId();
|
||||
id = YitIdHelper::NextId();
|
||||
println!("id: {}", id);
|
||||
|
||||
// if multiThread { // 这是多线程
|
||||
// thread::spawn(move || {
|
||||
|
||||
Reference in New Issue
Block a user