Skip to content

Commit 7d5c7c3

Browse files
committed
trigger ci
1 parent 104379d commit 7d5c7c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ast/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
## 注意事项
1414

15+
1516
- 修改`Ctx`结构体成员或者增加函数的时候,若不熟悉rust或者代码,容易出现生命周期问题。若出现此类问题,请按照以下三点依次尝试:
1617
- `Ctx`中所有直接或间接由`context`生成的类型(几乎都是inkwell库中的类型)的生命周期泛型应该为`'ctx`
1718
- 所有被borrow的字段的borrow的生命周期应该为`'a`,除了`context`字段(`context`生命周期是`'a`

0 commit comments

Comments
 (0)