Rust: Unify type inference logic for associated functions

This commit is contained in:
Tom Hvitved
2026-02-23 10:41:43 +01:00
parent ca7017f3d7
commit 1b6f3a43ef
14 changed files with 1273 additions and 1444 deletions

View File

@@ -56,6 +56,9 @@ module Option<TypeWithToString T> {
/** Gets the given element wrapped as an `Option`. */
Some some(T c) { result = TSome(c) }
/** Gets the `None` value. */
None none_() { any() }
}
/**