This commit is contained in:
sylvestre
2023-04-22 02:36:19 +00:00
parent af55f365f1
commit 9700cac5bf
29 changed files with 61 additions and 61 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -2,6 +2,6 @@
"uu_numfmt":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"uu_numfmt/options/struct.FormatOptions.html\" title=\"struct uu_numfmt::options::FormatOptions\">FormatOptions</a>"]],
"uu_sort":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"uu_sort/struct.GlobalSettings.html\" title=\"struct uu_sort::GlobalSettings\">GlobalSettings</a>"]],
"uu_stty":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"uu_stty/struct.TermSize.html\" title=\"struct uu_stty::TermSize\">TermSize</a>"]],
"uu_tail":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"uu_tail/args/struct.Settings.html\" title=\"struct uu_tail::args::Settings\">Settings</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"uu_tail/args/enum.FilterMode.html\" title=\"enum uu_tail::args::FilterMode\">FilterMode</a>"]],
"uu_tail":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"uu_tail/args/enum.FilterMode.html\" title=\"enum uu_tail::args::FilterMode\">FilterMode</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"uu_tail/args/struct.Settings.html\" title=\"struct uu_tail::args::Settings\">Settings</a>"]],
"uucore":[["impl&lt;'parser&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"uucore/parse_size/struct.Parser.html\" title=\"struct uucore::parse_size::Parser\">Parser</a>&lt;'parser&gt;"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
(function() {var implementors = {
"uu_numfmt":[["impl&lt;'a&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"uu_numfmt/format/struct.WhitespaceSplitter.html\" title=\"struct uu_numfmt::format::WhitespaceSplitter\">WhitespaceSplitter</a>&lt;'a&gt;"]],
"uu_tail":[["impl&lt;'a&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"uu_tail/chunks/struct.ReverseChunks.html\" title=\"struct uu_tail::chunks::ReverseChunks\">ReverseChunks</a>&lt;'a&gt;"]],
"uucore":[["impl&lt;B: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/std/io/trait.BufRead.html\" title=\"trait std::io::BufRead\">BufRead</a>&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"uucore/lines/struct.Lines.html\" title=\"struct uucore::lines::Lines\">Lines</a>&lt;B&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"uucore/utmpx/struct.UtmpxIter.html\" title=\"struct uucore::utmpx::UtmpxIter\">UtmpxIter</a>"]]
"uucore":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"uucore/utmpx/struct.UtmpxIter.html\" title=\"struct uucore::utmpx::UtmpxIter\">UtmpxIter</a>"],["impl&lt;B: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/std/io/trait.BufRead.html\" title=\"trait std::io::BufRead\">BufRead</a>&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"uucore/lines/struct.Lines.html\" title=\"struct uucore::lines::Lines\">Lines</a>&lt;B&gt;"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
+1 -1
View File
@@ -5,5 +5,5 @@
"uu_sort":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uu_sort/enum.GeneralF64ParseResult.html\" title=\"enum uu_sort::GeneralF64ParseResult\">GeneralF64ParseResult</a>"]],
"uu_stty":[["impl&lt;T: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a>&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"uu_stty/struct.Flag.html\" title=\"struct uu_stty::Flag\">Flag</a>&lt;T&gt;"]],
"uu_tail":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uu_tail/args/enum.FollowMode.html\" title=\"enum uu_tail::args::FollowMode\">FollowMode</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uu_tail/args/enum.Signum.html\" title=\"enum uu_tail::args::Signum\">Signum</a>"]],
"uucore":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/encoding/enum.Format.html\" title=\"enum uucore::encoding::Format\">Format</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/quoting_style/enum.Quotes.html\" title=\"enum uucore::quoting_style::Quotes\">Quotes</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/backup_control/enum.BackupMode.html\" title=\"enum uucore::backup_control::BackupMode\">BackupMode</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/fs/enum.MissingHandling.html\" title=\"enum uucore::fs::MissingHandling\">MissingHandling</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/fs/enum.ResolveMode.html\" title=\"enum uucore::fs::ResolveMode\">ResolveMode</a>"]]
"uucore":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/fs/enum.MissingHandling.html\" title=\"enum uucore::fs::MissingHandling\">MissingHandling</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/fs/enum.ResolveMode.html\" title=\"enum uucore::fs::ResolveMode\">ResolveMode</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/encoding/enum.Format.html\" title=\"enum uucore::encoding::Format\">Format</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/backup_control/enum.BackupMode.html\" title=\"enum uucore::backup_control::BackupMode\">BackupMode</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.69.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"uucore/quoting_style/enum.Quotes.html\" title=\"enum uucore::quoting_style::Quotes\">Quotes</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4 -4
View File
File diff suppressed because one or more lines are too long
+5 -5
View File
@@ -53,12 +53,12 @@
</span><span class="kw">impl </span>std::fmt::Display <span class="kw">for </span>ParseError {
<span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>std::fmt::Formatter&lt;<span class="lifetime">&#39;_</span>&gt;) -&gt; std::fmt::Result {
<span class="kw">match </span><span class="self">self </span>{
<span class="self">Self</span>::Expected(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;expected {}&quot;</span>, s),
<span class="self">Self</span>::Expected(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;expected {s}&quot;</span>),
<span class="self">Self</span>::ExpectedValue =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;expected value&quot;</span>),
<span class="self">Self</span>::MissingArgument(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;missing argument after {}&quot;</span>, s),
<span class="self">Self</span>::ExtraArgument(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;extra argument {}&quot;</span>, s),
<span class="self">Self</span>::UnknownOperator(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;unknown operator {}&quot;</span>, s),
<span class="self">Self</span>::InvalidInteger(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;invalid integer {}&quot;</span>, s),
<span class="self">Self</span>::MissingArgument(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;missing argument after {s}&quot;</span>),
<span class="self">Self</span>::ExtraArgument(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;extra argument {s}&quot;</span>),
<span class="self">Self</span>::UnknownOperator(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;unknown operator {s}&quot;</span>),
<span class="self">Self</span>::InvalidInteger(s) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;invalid integer {s}&quot;</span>),
}
}
}
+2 -2
View File
@@ -165,9 +165,9 @@
<span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter) -&gt; fmt::Result {
<span class="kw">match </span><span class="kw-2">*</span><span class="self">self </span>{
BufReadDecoderError::InvalidByteSequence(bytes) =&gt; {
<span class="macro">write!</span>(f, <span class="string">&quot;invalid byte sequence: {:02x?}&quot;</span>, bytes)
<span class="macro">write!</span>(f, <span class="string">&quot;invalid byte sequence: {bytes:02x?}&quot;</span>)
}
BufReadDecoderError::Io(<span class="kw-2">ref </span>err) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;underlying bytestream error: {}&quot;</span>, err),
BufReadDecoderError::Io(<span class="kw-2">ref </span>err) =&gt; <span class="macro">write!</span>(f, <span class="string">&quot;underlying bytestream error: {err}&quot;</span>),
}
}
}
+9 -9
View File
@@ -494,7 +494,7 @@
<span class="kw">fn </span>usage(<span class="kw-2">&amp;mut </span><span class="self">self</span>) -&gt; io::Result&lt;()&gt; {
<span class="kw">if let </span><span class="prelude-val">Some</span>(markdown) = <span class="kw-2">&amp;</span><span class="self">self</span>.markdown {
<span class="kw">let </span>usage = help_parser::parse_usage(<span class="kw-2">&amp;</span>markdown);
<span class="kw">let </span>usage = help_parser::parse_usage(markdown);
<span class="kw">let </span>usage = usage.replace(<span class="string">&quot;{}&quot;</span>, <span class="self">self</span>.name);
<span class="macro">writeln!</span>(<span class="self">self</span>.w, <span class="string">&quot;\n```&quot;</span>)<span class="question-mark">?</span>;
@@ -507,7 +507,7 @@
<span class="kw">fn </span>about(<span class="kw-2">&amp;mut </span><span class="self">self</span>) -&gt; io::Result&lt;()&gt; {
<span class="kw">if let </span><span class="prelude-val">Some</span>(markdown) = <span class="kw-2">&amp;</span><span class="self">self</span>.markdown {
<span class="macro">writeln!</span>(<span class="self">self</span>.w, <span class="string">&quot;{}&quot;</span>, help_parser::parse_about(<span class="kw-2">&amp;</span>markdown))
<span class="macro">writeln!</span>(<span class="self">self</span>.w, <span class="string">&quot;{}&quot;</span>, help_parser::parse_about(markdown))
} <span class="kw">else </span>{
<span class="prelude-val">Ok</span>(())
}
@@ -515,7 +515,7 @@
<span class="kw">fn </span>after_help(<span class="kw-2">&amp;mut </span><span class="self">self</span>) -&gt; io::Result&lt;()&gt; {
<span class="kw">if let </span><span class="prelude-val">Some</span>(markdown) = <span class="kw-2">&amp;</span><span class="self">self</span>.markdown {
<span class="kw">if let </span><span class="prelude-val">Some</span>(after_help) = help_parser::parse_section(<span class="string">&quot;after help&quot;</span>, <span class="kw-2">&amp;</span>markdown) {
<span class="kw">if let </span><span class="prelude-val">Some</span>(after_help) = help_parser::parse_section(<span class="string">&quot;after help&quot;</span>, markdown) {
<span class="kw">return </span><span class="macro">writeln!</span>(<span class="self">self</span>.w, <span class="string">&quot;\n\n{after_help}&quot;</span>);
}
}
@@ -570,10 +570,10 @@
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;&lt;dt&gt;&quot;</span>)<span class="question-mark">?</span>;
<span class="kw">let </span><span class="kw-2">mut </span>first = <span class="bool-val">true</span>;
<span class="kw">for </span>l <span class="kw">in </span>arg.get_long_and_visible_aliases().unwrap_or_default() {
<span class="kw">if </span>!first {
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;, &quot;</span>)<span class="question-mark">?</span>;
} <span class="kw">else </span>{
<span class="kw">if </span>first {
first = <span class="bool-val">false</span>;
} <span class="kw">else </span>{
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;, &quot;</span>)<span class="question-mark">?</span>;
}
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;&lt;code&gt;&quot;</span>)<span class="question-mark">?</span>;
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;--{}&quot;</span>, l)<span class="question-mark">?</span>;
@@ -591,10 +591,10 @@
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;&lt;/code&gt;&quot;</span>)<span class="question-mark">?</span>;
}
<span class="kw">for </span>s <span class="kw">in </span>arg.get_short_and_visible_aliases().unwrap_or_default() {
<span class="kw">if </span>!first {
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;, &quot;</span>)<span class="question-mark">?</span>;
} <span class="kw">else </span>{
<span class="kw">if </span>first {
first = <span class="bool-val">false</span>;
} <span class="kw">else </span>{
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;, &quot;</span>)<span class="question-mark">?</span>;
}
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;&lt;code&gt;&quot;</span>)<span class="question-mark">?</span>;
<span class="macro">write!</span>(<span class="self">self</span>.w, <span class="string">&quot;-{}&quot;</span>, s)<span class="question-mark">?</span>;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More