mirror of
https://github.com/chatmail/core.git
synced 2026-08-11 17:48:05 +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.