mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 02:31:13 +08:00
docs: kernel 小文件注释改写
This commit is contained in:
@@ -191,7 +191,7 @@ fn source_escape_roundtrip_via_key() {
|
||||
#[test]
|
||||
fn string_ptr_materializes_units() {
|
||||
let interner = PermInterner::new();
|
||||
// 良形键:物化内容与旧行为逐位一致,且二次调用返回同一稳定指针。
|
||||
// 良形键:物化内容与键文本逐字一致,且二次调用返回同一稳定指针。
|
||||
let (id, _) = interner.intern("perm");
|
||||
let ptr = interner.string_ptr(id);
|
||||
assert_eq!(unsafe { (*ptr).as_str() }, "perm");
|
||||
|
||||
Reference in New Issue
Block a user