xso-proc: remove stripping of trailing _ from type names

Users can now rename the generated types altogether, which means that we
do not need this anymore to avoid lints.
This commit is contained in:
Jonas Schäfer 2024-07-31 15:40:41 +02:00 committed by Link Mauve
commit 3089832090
4 changed files with 7 additions and 21 deletions

View file

@ -610,3 +610,7 @@ fn renamed_types_get_renamed() {
assert!(std::mem::size_of::<RenamedBuilder>() >= 0);
assert!(std::mem::size_of::<RenamedIter>() >= 0);
}
#[derive(FromXml, AsXml, PartialEq, Debug, Clone)]
#[xml(namespace = NS1, name = "elem")]
struct Foo_;