diff options
Diffstat (limited to 'doc/weave.html')
-rwxr-xr-x | doc/weave.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/weave.html b/doc/weave.html index 2f9c044..59fc750 100755 --- a/doc/weave.html +++ b/doc/weave.html @@ -45,9 +45,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> @@ -82,7 +80,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; |