Skip to content

Commit 23c6464

Browse files
committed
deploy: 2ed80ff
1 parent 462637a commit 23c6464

File tree

8 files changed

+19
-9
lines changed

8 files changed

+19
-9
lines changed

dev/search-index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/src/uu_cp/cp.rs.html

+11-1
Original file line numberDiff line numberDiff line change
@@ -1670,6 +1670,11 @@
16701670
<span id="1670">1670</span>
16711671
<span id="1671">1671</span>
16721672
<span id="1672">1672</span>
1673+
<span id="1673">1673</span>
1674+
<span id="1674">1674</span>
1675+
<span id="1675">1675</span>
1676+
<span id="1676">1676</span>
1677+
<span id="1677">1677</span>
16731678
</pre><pre class="rust"><code><span class="attribute">#![allow(clippy::missing_safety_doc)]
16741679
#![allow(clippy::extra_unused_lifetimes)]
16751680

@@ -2417,7 +2422,12 @@
24172422
attributes.push(Attribute::from_str(attribute_str)<span class="question-mark">?</span>);
24182423
}
24192424
}
2420-
attributes
2425+
<span class="comment">// `--preserve` case, use the defaults
2426+
</span><span class="kw">if </span>attributes.is_empty() {
2427+
DEFAULT_ATTRIBUTES.to_vec()
2428+
} <span class="kw">else </span>{
2429+
attributes
2430+
}
24212431
}
24222432
}
24232433
} <span class="kw">else if </span>matches.get_flag(options::ARCHIVE) {

0 commit comments

Comments
 (0)