prusti-dev icon indicating copy to clipboard operation
prusti-dev copied to clipboard

Document snapshot equality

Open zgrannan opened this issue 3 years ago • 1 comments

Please feel free to suggest changes. Ideally, I'd like to explain the feature without requiring the audience to necessarily understand the snapshot encoding.

zgrannan avatar Aug 20 '22 05:08 zgrannan

Looks good. Although we indeed might not want to explain snapshots fully (we've had this discussion a couple of times already!), we could at least note that snapshots follow nested fields and references, but not unsafe pointers or UnsafeCells.

Aurel300 avatar Aug 20 '22 09:08 Aurel300

Thanks! I'll merge this now since the documentation is helpful, we can adjust the wording later if anybody finds it confusing.

Aurel300 avatar Dec 21 '22 11:12 Aurel300