aboutsummaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-12-22 00:29:11 +0100
committermetamuffin <metamuffin@disroot.org>2023-12-22 00:29:11 +0100
commit826c61c9612e855b19c3adb0e93d80bbfb4dc903 (patch)
treef7fb1b900b3fa5ced46de392a47756c3ca5cc398 /tool
parent3a29113e965a94bdef06655f1583cc6e86edd606 (diff)
downloadjellything-826c61c9612e855b19c3adb0e93d80bbfb4dc903.tar
jellything-826c61c9612e855b19c3adb0e93d80bbfb4dc903.tar.bz2
jellything-826c61c9612e855b19c3adb0e93d80bbfb4dc903.tar.zst
rework import system pt. 2
Diffstat (limited to 'tool')
-rw-r--r--tool/src/main.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/tool/src/main.rs b/tool/src/main.rs
index 34337ce..6384822 100644
--- a/tool/src/main.rs
+++ b/tool/src/main.rs
@@ -193,19 +193,6 @@ fn main() -> anyhow::Result<()> {
}
}
-fn make_ident(s: &str) -> String {
- let mut out = String::new();
- for s in s.chars() {
- match s {
- 'a'..='z' | '0'..='9' => out.push(s),
- 'A'..='Z' => out.push(s.to_ascii_lowercase()),
- '-' | ' ' | '_' | ':' => out.push('-'),
- _ => (),
- }
- }
- out
-}
-
fn ok_or_warn<T, E: Debug>(r: Result<T, E>) -> Option<T> {
match r {
Ok(t) => Some(t),