chore: remove duplicate word in comment (#15437)

<!--
Thanks for submitting a pull request 🎉! Here are some tips for you:

* If this is your first contribution, read "Cargo Contribution Guide"
first:
  https://doc.crates.io/contrib/
* Run `cargo fmt --all` to format your code changes.
* Small commits and pull requests are always preferable and easy to
review.
* If your idea is large and needs feedback from the community, read how:
  https://doc.crates.io/contrib/process/#working-on-large-features
* Cargo takes care of compatibility. Read our design principles:
  https://doc.crates.io/contrib/design.html
* When changing help text of cargo commands, follow the steps to
generate docs:

https://github.com/rust-lang/cargo/tree/master/src/doc#building-the-man-pages
* If your PR is not finished, set it as "draft" PR or add "WIP" in its
title.
* It's ok to use the CI resources to test your PR, but please don't
abuse them.

### What does this PR try to resolve?

remove duplicate word in comment

### How should we test and review this PR?

Demonstrate how you test this change and guide reviewers through your
PR.
With a smooth review process, a pull request usually gets reviewed
quicker.

If you don't know how to write and run your tests, please read the
guide:
https://doc.crates.io/contrib/tests

### Additional information

Other information you want to mention in this PR, such as prior arts,
future extensions, an unresolved problem, or a TODO list.
-->

remove duplicate word in comment
This commit is contained in:
Weihang Lo 2025-04-18 17:03:33 +00:00 committed by GitHub
commit 8ddf3676d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ impl ConfigRelativePath {
/// Same as [`Self::resolve_path`] but will make string replacements
/// before resolving the path.
///
/// `replacements` should be an an [`IntoIterator`] of tuples with the "from" and "to" for the
/// `replacements` should be an [`IntoIterator`] of tuples with the "from" and "to" for the
/// string replacement
pub fn resolve_templated_path(
&self,