mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
proc, input, output: cleanup warnings
This commit is contained in:
parent
ab07fd2b43
commit
60c0771024
6 changed files with 32 additions and 93 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue