fix: missing interpolation (reg_type_def_masked, SlId)

This commit is contained in:
Wataru Otsubo 2025-02-02 16:48:53 +09:00
parent 9a882fdab1
commit cc0fe59b28

View file

@ -79,7 +79,7 @@ fn reg_type_def_masked(
type Error = DataConversionError<#type_ux, Self>; type Error = DataConversionError<#type_ux, Self>;
fn try_from(value: #type_ux) -> Result<Self, Self::Error> { fn try_from(value: #type_ux) -> Result<Self, Self::Error> {
Ok(SlId(value & #mask)) Ok(Self(value & #mask))
} }
} }
impl From<#upper_camel_name> for #type_ux { impl From<#upper_camel_name> for #type_ux {