Fix cargo clippy issue
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
33253221eb
commit
d4b16d1998
4076
geneit_app/package-lock.json
generated
Normal file
4076
geneit_app/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -147,7 +147,7 @@ pub mod loop_detection {
|
|||||||
prev: Option<&'a LoopStack<'a>>,
|
prev: Option<&'a LoopStack<'a>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> LoopStack<'a> {
|
impl LoopStack<'_> {
|
||||||
pub fn contains(&self, id: MemberID) -> bool {
|
pub fn contains(&self, id: MemberID) -> bool {
|
||||||
if let Some(ls) = &self.prev {
|
if let Some(ls) = &self.prev {
|
||||||
if ls.contains(id) {
|
if ls.contains(id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user