the.bay.news

Enabling `clippy::all` for a module

The Rust Programming Language Forum
Enabling `clippy::all` for a module
Hey folks, I'm using the Snowball compiler to generate a Rust implementation of our stemmer. This involves copying a couple of modules into my project. Unfortunately Clippy is not happy with one of the modules, and I don't feel confident modifying it. I've corralled the Snowball code into its own module structure and have this snowball.rs file: mod among; #[allow(unused)] #[allow(clippy::all)] mod snowball_env; mod pali; #[must_use] pub fn pali_stem(input: &str) -> String { let mut env = ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.