diff options
Diffstat (limited to 'doc/freestanding/tangle.html')
-rw-r--r-- | doc/freestanding/tangle.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/freestanding/tangle.html b/doc/freestanding/tangle.html index 2966ef1..85ede91 100644 --- a/doc/freestanding/tangle.html +++ b/doc/freestanding/tangle.html @@ -59,9 +59,7 @@ pub fn main() !u8 { <h3 id="license">License:</h3> <pre><code>// Copyright 2022 DistressNetwork° <uplink@distress.network> -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. </code></pre> <p>First we import the other files containing the core functions.</p> @@ -96,7 +94,7 @@ defer arena.deinit(); <h3 id="read-file-from-stdin">Read file from stdin:</h3> -<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) { +<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) { error.StreamTooLong => { log(.err, "input too large (maximum {})", .{std.fmt.fmtIntSizeBin(data.input_max)}); return 1; |