From f7b67f6d09b20e1a28e2da8dbd893330684ee00a Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 29 Dec 2016 18:43:54 +0100 Subject: [PATCH] Some small cleanup --- source/app.d | 11 +++++------ source/fahrplanparser.d | 6 ++---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/source/app.d b/source/app.d index 089c145..58b28b5 100644 --- a/source/app.d +++ b/source/app.d @@ -1,10 +1,9 @@ -import std.getopt : defaultGetoptPrinter, getopt; -import std.stdio : File, stdout, writeln; -import std.datetime : Clock; -import std.json : JSONValue; -import std.format : format; import std.array: array, replace; - +import std.datetime : Clock; +import std.format : format; +import std.getopt : defaultGetoptPrinter, getopt; +import std.json : JSONValue; +import std.stdio : File, writeln; import requests : postContent; diff --git a/source/fahrplanparser.d b/source/fahrplanparser.d index caae9bc..6b64bac 100644 --- a/source/fahrplanparser.d +++ b/source/fahrplanparser.d @@ -1,11 +1,9 @@ module fahrplanparser; -private: - -import std.algorithm : filter, map, startsWith; +import std.algorithm : filter, map; import std.array : empty, front, replace; import std.conv : to; -import std.datetime : dur, TimeOfDay, Clock; +import std.datetime : dur, TimeOfDay; import std.regex : ctRegex, matchAll; import std.string : strip; import std.typecons : tuple;