message: fixed wordlist entries with leading slash are trimmed
diff: @@ -44,9 +44,10 @@ lazy_static! {
  static ref PARALLEL_LIMITER: Semaphore = Semaphore::new(0);
  }
  -/// Create a HashSet of Strings from the given wordlist then stores it inside an Arc
  +/// Create a Vec of Strings from the given wordlist then stores it inside an Arc
  fn get_unique_words_from_wordlist(path: &str) -> Result<Arc<Vec<String>>> {
  log::trace!("enter: get_unique_words_from_wordlist({})", path);
  + let mut trimmed_word = false;
  let file = File::open(path).with_context(|| format!("Could not open {}", path))?;
  @@ -61,12 +62,21 @@ fn get_unique_words_from_wordlist(path: &str) -> Result<Arc<Vec<String>>> {
  for line in reader.lines() {
  line.map(|result| {
  if !result.starts_with('#') && !result.is_empty() {
  + if result.starts_with('/') {
  + words.push(result.trim_start_matches('/').to_string());
  + trimmed_word = true;
  + } else {
  words.push(result);
  }
  + }
  })
  .ok();
  }
  + if trimmed_word {
  + log::warn!("Some words in the wordlist started with a leading forward-slash; those words were trimmed (i.e. /word -> word)");
  + }
  +
  log::trace!(
  "exit: get_unique_words_from_wordlist -> Arc<wordlist[{} words...]>",
  words.len()
  