assembler: fix clippy warnings
This commit is contained in:
@@ -22,6 +22,7 @@ pub struct RegisterToken {
|
||||
|
||||
impl RegisterToken {
|
||||
/// Returns the name of a valid [`Register`]
|
||||
#[must_use]
|
||||
pub fn name(&self) -> String {
|
||||
self.reg.to_string()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user