mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
The function does a cast and does not create a new objects. The stdlib convention is to use to_*() for functions which return new objects and as_*() for functions which keep referring to the same data but using a different type. Follow that convention.