struct: cosmetic fixes

This commit is contained in:
ProgramSnail 2026-05-16 17:39:08 +00:00
parent 99669ba2f8
commit de71aea4e1
3 changed files with 15 additions and 15 deletions

View file

@ -1471,21 +1471,10 @@ $s in stmt, f in X, x in X, a in X, p in path, pi in revpath$
#h(10pt)
=== Writable Type
=== Writability Check
#let twrite = $attach(tack.r, br: #[`write`])$
#align(center, prooftree(
vertical-spacing: 4pt,
rule(
name: [ writable unit type: MaybeWrite],
$twrite cl r, MaybeWrite cr$,
)
))
#h(10pt)
#align(center, prooftree(
vertical-spacing: 4pt,
rule(
@ -1500,7 +1489,18 @@ $s in stmt, f in X, x in X, a in X, p in path, pi in revpath$
#align(center, prooftree(
vertical-spacing: 4pt,
rule(
name: [ writable ref type],
name: [ writable unit type: MaybeWrite],
$twrite cl r, MaybeWrite cr$,
)
))
#h(10pt)
#align(center, prooftree(
vertical-spacing: 4pt,
rule(
name: [ writable ref type],
$twrite t$,
$twrite rf c space t$,