proc, input, output: cleanup warnings

This commit is contained in:
🪞👃🪞 2025-05-09 20:02:24 +03:00
parent ab07fd2b43
commit 60c0771024
6 changed files with 32 additions and 93 deletions

View file

@ -146,15 +146,6 @@ impl ToTokens for ViewArm {
//}
//}
fn nth_segment_is (segments: &Punctuated<PathSegment, PathSep>, n: usize, x: &str) -> bool {
if let Some(PathSegment { arguments: PathArguments::None, ident, .. }) = segments.get(n) {
if format!("{ident}") == x {
return true
}
}
return false
}
//impl std::cmp::PartialEq for ViewItem {
//fn eq (&self, other: &Self) -> bool {
//self.item == other.item && (format!("{:?}", self.expose) == format!("{:?}", other.expose))