ok clippy now you're just messing with me rust-lang.github.io/rust-clippy/ma
Conversation
you know, we'll just have to go and agree to disagree
5
10
Not a Rustacean but sounds like self.queries isn't a linked list so length is also constant-time?
1
Pretty sure this is just a syntactic thing in clippy – I don't think it knows anything about the complexity of length methods. And linked lists are pretty rare to find in Rust. :)
I wasn't suggesting clippy knew, only that the author of the lint might have worried about this.
1


