Skip to content

Commit 5f6298a

Browse files
committed
typosquat: fix doc lint errors
1 parent c176ab6 commit 5f6298a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typosquat/cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub struct Cache {
2424
impl Cache {
2525
/// Instantiates a new [`Cache`] from the environment.
2626
///
27-
/// This reads the [`NOTIFICATION_EMAILS_ENV`] environment variable to get the list of e-mail
27+
/// This reads the `NOTIFICATION_EMAILS_ENV` environment variable to get the list of e-mail
2828
/// addresses to send notifications to, then invokes [`Cache::new`] to read popular crates from
2929
/// the database.
3030
#[instrument(skip_all, err)]
@@ -55,7 +55,7 @@ impl Cache {
5555

5656
/// Instantiates a cache by querying popular crates and building them into a typomania harness.
5757
///
58-
/// This relies on configuration in the [`super::config`] module.
58+
/// This relies on configuration in the `super::config` module.
5959
pub fn new(emails: Vec<String>, conn: &mut PgConnection) -> Result<Self, Error> {
6060
let top = TopCrates::new(conn, config::TOP_CRATES)?;
6161

0 commit comments

Comments
 (0)