Skip to content

Commit 048045d

Browse files
committed
docs: 修正 0.16 C import 旧写法示例
1 parent 8c1fd16 commit 048045d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

course/update/upgrade-0.16.0.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ pub const c = @cImport({
5959
@cInclude("math.h");
6060
@cInclude("stdlib.h");
6161
});
62-
63-
const c = @import("c.zig").c;
6462
```
6563

6664
新写法:

0 commit comments

Comments
 (0)