commit d54e80465e6d384c917e6c4581c3ca16c356064c
parent 6fb4bdbc816202a4801dd80d92b8c1d3c023dcb2
Author: Sebastian <sebastian@sebsite.pw>
Date: Fri, 18 Aug 2023 01:28:37 -0400
Remove unused imports
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
17 files changed, 0 insertions(+), 20 deletions(-)
diff --git a/format/tar/reader.ha b/format/tar/reader.ha
@@ -2,7 +2,6 @@
// (c) 2022 Drew DeVault <sir@cmpwn.com>
use bytes;
use endian;
-use errors;
use io;
use memio;
use strconv;
diff --git a/fs/util.ha b/fs/util.ha
@@ -3,7 +3,6 @@
// (c) 2021-2022 Drew DeVault <sir@cmpwn.com>
// (c) 2021 Ember Sawady <ecs@d2evs.net>
// (c) 2021 Thomas Bracht Laumann Jespersen <t@laumann.xyz>
-use errors;
use io;
use path;
use strings;
diff --git a/hare/types/+test.ha b/hare/types/+test.ha
@@ -4,8 +4,6 @@
// (c) 2021 Drew DeVault <sir@cmpwn.com>
// (c) 2021 Ember Sawady <ecs@d2evs.net>
// (c) 2022 Sebastian <sebastian@sebsite.pw>
-use errors;
-use fmt;
use hare::ast;
use hare::lex;
use hare::parse;
diff --git a/hare/types/hash.ha b/hare/types/hash.ha
@@ -5,7 +5,6 @@ use endian;
use hash::fnv;
use hash;
use strings;
-use fmt;
// Keep ordered with respect to bootstrap harec:include/types.h
type storage = enum u8 {
diff --git a/mime/system.ha b/mime/system.ha
@@ -2,7 +2,6 @@
// (c) 2022 Drew DeVault <sir@cmpwn.com>
use bufio;
use encoding::utf8;
-use errors;
use fmt;
use fs;
use io;
diff --git a/regex/regex.ha b/regex/regex.ha
@@ -3,7 +3,6 @@
use ascii;
use bufio;
use encoding::utf8;
-use errors;
use io;
use memio;
use strconv;
diff --git a/time/chrono/tzdb.ha b/time/chrono/tzdb.ha
@@ -4,7 +4,6 @@ use bufio;
use bytes;
use encoding::utf8;
use endian;
-use errors;
use fs;
use io;
use os;
diff --git a/time/date/date.ha b/time/date/date.ha
@@ -1,7 +1,6 @@
// License: MPL-2.0
// (c) 2021-2022 Byron Torres <b@torresjrjr.com>
// (c) 2022 Drew DeVault <sir@cmpwn.com>
-use errors;
use time;
use time::chrono;
diff --git a/time/date/daydate.ha b/time/date/daydate.ha
@@ -1,8 +1,6 @@
// License: MPL-2.0
// (c) 2021-2022 Byron Torres <b@torresjrjr.com>
// (c) 2021-2022 Vlad-Stefan Harbuz <vlad@vladh.net>
-use errors;
-use time::chrono;
// Hare internally uses the Unix epoch (1970-01-01) for calendrical logic. Here
// we provide useful constant for working with the astronomically numbered
diff --git a/time/date/daytime.ha b/time/date/daytime.ha
@@ -1,6 +1,5 @@
// License: MPL-2.0
// (c) 2021-2022 Byron Torres <b@torresjrjr.com>
-use errors;
use time;
// Calculates the wall clock (hour, minute, second, nanosecond),
diff --git a/time/date/format.ha b/time/date/format.ha
@@ -3,7 +3,6 @@
// (c) 2022 Drew DeVault <sir@cmpwn.com>
// (c) 2021-2022 Vlad-Stefan Harbuz <vlad@vladh.net>
use ascii;
-use errors;
use fmt;
use io;
use memio;
diff --git a/time/date/observe.ha b/time/date/observe.ha
@@ -1,7 +1,5 @@
// License: MPL-2.0
// (c) 2021-2022 Byron Torres <b@torresjrjr.com>
-use errors;
-use time;
use time::chrono;
// These functions are renamed to avoid namespace conflicts, like in the
diff --git a/time/date/parse.ha b/time/date/parse.ha
@@ -3,7 +3,6 @@
// (c) 2022 Drew DeVault <sir@cmpwn.com>
// (c) 2021-2022 Vlad-Stefan Harbuz <vlad@vladh.net>
use ascii;
-use errors;
use io;
use strconv;
use strings;
diff --git a/unix/+freebsd/umask.ha b/unix/+freebsd/umask.ha
@@ -1,6 +1,5 @@
// License: MPL-2.0
// (c) 2021 Drew DeVault <sir@cmpwn.com>
-use errors;
use fs;
use rt;
diff --git a/unix/+linux/umask.ha b/unix/+linux/umask.ha
@@ -1,7 +1,6 @@
// License: MPL-2.0
// (c) 2021 Ember Sawady <ecs@d2evs.net>
// (c) 2021 Umar Getagazov <umar@handlerug.me>
-use errors;
use fs;
use rt;
diff --git a/unix/signal/+freebsd.ha b/unix/signal/+freebsd.ha
@@ -1,4 +1,3 @@
-use errors;
use io;
use rt;
diff --git a/unix/tty/pty_common.ha b/unix/tty/pty_common.ha
@@ -1,5 +1,4 @@
use bufio;
-use errors;
use fmt;
use fs;
use io;