Error during Building and Testing New Lint

Hi, my rust best community. Again I am facing new error during writing new lint.. ( error is shown below

anyone can help me.. ?
PS. I am not sure should i post this error as a new topic or post in my previous topic (Error during Writing New Lint for Clippy). For that I am really sorry for inconvenience.

What is the return type of the .as_str()? It should be &str by standard convention, but str doesn’t have method .get() afaik.

I am following the link , mentioned earlier. all code is seems to b valid… but the problem with some borrow rules… I am not sure what we have to change in this code…Some of senior may guide me…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.