Skip to content

Commit

Permalink
Rename links utils mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed May 2, 2022
1 parent e8b04bb commit a0630ef
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/content/src/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use crate::library::Library;
use crate::ser::SerializingPage;
use crate::utils::get_reading_analytics;
use crate::utils::{find_related_assets, has_anchor};
use utils::anchors::has_anchor_id;
use utils::fs::read_file;
use utils::links::has_anchor_id;

// Based on https://regex101.com/r/H2n38Z/1/tests
// A regex parsing RFC3339 date followed by {_,-}, some characters and ended by .md
Expand Down
2 changes: 1 addition & 1 deletion components/link_checker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use libs::reqwest::{blocking::Client, StatusCode};
use config::LinkChecker;
use errors::anyhow;

use utils::links::has_anchor_id;
use utils::anchors::has_anchor_id;

pub type Result = result::Result<StatusCode, String>;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion components/utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub mod anchors;
pub mod de;
pub mod fs;
pub mod links;
pub mod net;
pub mod site;
pub mod slugs;
Expand Down

0 comments on commit a0630ef

Please sign in to comment.