summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreudoxia <uplink@distress.network>2022-08-26 09:26:03 -0400
committereudoxia <uplink@distress.network>2022-08-26 09:26:03 -0400
commit1adcba5eb7c6d4da9727c21aea66c6cd5dec668f (patch)
tree3bba39a43e745e9dd741465143a6ae78f81b869a
parentfb91b1071d4978ec915de8e93af4bf96f21f2b35 (diff)
removed unnecessary definitionHEADmaster
-rw-r--r--data.lp3
-rw-r--r--doc/data.html3
-rwxr-xr-xdoc/online/data.html5
-rwxr-xr-xdoc/online/log.html2
-rwxr-xr-xdoc/online/tangle.html2
-rwxr-xr-xdoc/online/weave.html2
-rw-r--r--src/data.zig3
7 files changed, 8 insertions, 12 deletions
diff --git a/data.lp b/data.lp
index a65daf6..654c1fa 100644
--- a/data.lp
+++ b/data.lp
@@ -100,8 +100,7 @@ pub const Section = struct {
content: []const Content,
};
-pub const CodeType = enum { literal, reference };
-pub const Content = union(CodeType) {
+pub const Content = union(enum) {
literal: LineRange,
reference: []const u8,
};
diff --git a/doc/data.html b/doc/data.html
index 05bc7cf..1507566 100644
--- a/doc/data.html
+++ b/doc/data.html
@@ -144,8 +144,7 @@ pub const kc_nl = "\\n";
content: []const Content,
};
-pub const CodeType = enum { literal, reference };
-pub const Content = union(CodeType) {
+pub const Content = union(enum) {
literal: LineRange,
reference: []const u8,
};
diff --git a/doc/online/data.html b/doc/online/data.html
index 9fddef4..bad7ce0 100755
--- a/doc/online/data.html
+++ b/doc/online/data.html
@@ -132,8 +132,7 @@ pub const kc_nl = "\\n";
content: []const Content,
};
-pub const CodeType = enum { literal, reference };
-pub const Content = union(CodeType) {
+pub const Content = union(enum) {
literal: LineRange,
reference: []const u8,
};
@@ -553,7 +552,7 @@ try buffer.append(try std.mem.concat(alloc, u8, &#38;[_][]const u8{ line[0..star
</nav>
</div>
<footer>
-<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="/cw.html">Content Warning.</a> <a href="https://git.distress.network">Git.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
+<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="https://git.distress.network">Repository.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
<img src="/media/distressnetwork-w.svg" alt="">
</footer>
</body>
diff --git a/doc/online/log.html b/doc/online/log.html
index 59e9627..badfa07 100755
--- a/doc/online/log.html
+++ b/doc/online/log.html
@@ -98,7 +98,7 @@ nosuspend stderr.print(msg, args) catch return;
</nav>
</div>
<footer>
-<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="/cw.html">Content Warning.</a> <a href="https://git.distress.network">Git.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
+<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="https://git.distress.network">Repository.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
<img src="/media/distressnetwork-w.svg" alt="">
</footer>
</body>
diff --git a/doc/online/tangle.html b/doc/online/tangle.html
index 02e5905..3ba55c0 100755
--- a/doc/online/tangle.html
+++ b/doc/online/tangle.html
@@ -137,7 +137,7 @@ defer arena.deinit();
</nav>
</div>
<footer>
-<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="/cw.html">Content Warning.</a> <a href="https://git.distress.network">Git.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
+<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="https://git.distress.network">Repository.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
<img src="/media/distressnetwork-w.svg" alt="">
</footer>
</body>
diff --git a/doc/online/weave.html b/doc/online/weave.html
index 59fc750..c89b4cd 100755
--- a/doc/online/weave.html
+++ b/doc/online/weave.html
@@ -121,7 +121,7 @@ defer arena.deinit();
</nav>
</div>
<footer>
-<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="/cw.html">Content Warning.</a> <a href="https://git.distress.network">Git.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
+<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="https://git.distress.network">Repository.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p>
<img src="/media/distressnetwork-w.svg" alt="">
</footer>
</body>
diff --git a/src/data.zig b/src/data.zig
index 0340a82..a280b59 100644
--- a/src/data.zig
+++ b/src/data.zig
@@ -27,8 +27,7 @@ pub const Section = struct {
content: []const Content,
};
-pub const CodeType = enum { literal, reference };
-pub const Content = union(CodeType) {
+pub const Content = union(enum) {
literal: LineRange,
reference: []const u8,
};