mirror of
https://github.com/typst/typst
synced 2025-07-27 14:27:56 +08:00
This does not actually change any existing behavior, as `with_mask` is not used in a way that uses it. However, it should align reality with expectations. ## Alternatives There is a case to be made for simply removing the function, or for not changing its behavior, but simply the code. I think the new behavior (and the one written about in the code's comment) makes sense though. ## Postface Interestingly, this PR was inspired by another AI-generated slop PR.[^1] [^1]: https://github.com/typst/typst/pull/6640/files#diff-756093ac5fe76dbe9e281b08197b3cec0a930f18fab8d23a57c781c21886a606R174-R175