Files
erofs-linux/rust/kernel
Alice Ryhl 64fb810bce rust: types: rename Opaque::raw_get to cast_into
In the previous patch we added Opaque::cast_from() that performs the
opposite operation to Opaque::raw_get(). For consistency with this
naming, rename raw_get() to cast_from().

There are a few other options such as calling cast_from() something
closer to raw_get() rather than renaming this method. However, I could
not find a great naming scheme that works with raw_get(). The previous
version of this patch used from_raw(), but functions of that name
typically have a different signature, so that's not a great option.

Suggested-by: Danilo Krummrich <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Acked-by: Benno Lossin <[email protected]>
Acked-by: Andreas Hindborg <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Reviewed-by: Danilo Krummrich <[email protected]>
Acked-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Removed `HrTimer::raw_get` change. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
2025-07-15 22:26:11 +02:00
..
2025-07-15 21:01:48 +02:00
2025-06-22 23:09:32 +02:00
…
2025-06-22 23:08:42 +02:00
2025-06-22 23:09:17 +02:00
2025-03-16 21:59:19 +01:00
…
…
…
2025-06-22 23:09:17 +02:00
2025-06-22 23:08:42 +02:00
…
2025-06-22 23:09:32 +02:00
2025-04-29 15:31:07 +02:00