From 14ff93262b545a1daffee84726b786660ef6b042 Mon Sep 17 00:00:00 2001 From: Yuval Shavit Date: Fri, 14 Jun 2024 17:58:19 -0400 Subject: [PATCH] rename module (#22) --- src/fmt_md.rs | 2 +- src/main.rs | 2 +- src/{fmt_str.rs => str_utils.rs} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{fmt_str.rs => str_utils.rs} (100%) diff --git a/src/fmt_md.rs b/src/fmt_md.rs index 28dc820..682584a 100644 --- a/src/fmt_md.rs +++ b/src/fmt_md.rs @@ -4,8 +4,8 @@ use std::collections::{HashMap, HashSet}; use std::fmt::Alignment; use std::io::Write; -use crate::fmt_str::{pad_to, standard_align}; use crate::output::{Block, Output}; +use crate::str_utils::{pad_to, standard_align}; use crate::tree::{CodeVariant, Footnote, Inline, InlineVariant, Link, LinkReference, MdqNode, SpanVariant}; #[derive(Default)] diff --git a/src/main.rs b/src/main.rs index f54e66d..611e983 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,9 +8,9 @@ use crate::tree::MdqNode; mod fmt_json; mod fmt_md; -mod fmt_str; mod output; mod select; +mod str_utils; mod tree; fn main() { diff --git a/src/fmt_str.rs b/src/str_utils.rs similarity index 100% rename from src/fmt_str.rs rename to src/str_utils.rs