use deref getters where needed

This commit is contained in:
John Turner
2025-10-27 22:09:30 -04:00
parent 183dc8edcd
commit ee1d15f983
2 changed files with 9 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ use get::Get;
pub mod parsers;
#[derive(Clone, Debug, PartialEq, Eq, Get)]
pub struct UseFlag(#[get(method = "name")] String);
pub struct UseFlag(#[get(method = "name", kind = "deref")] String);
#[derive(Clone, Debug, PartialEq, Eq, Get)]
pub struct IUseFlag {