about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/doc-examples.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-08-04 09:26:58 +0900
committerGitHub <noreply@github.com>2020-08-04 09:26:58 +0900
commitcc0ac7eecebd57278974329d3610bb2512740ef8 (patch)
treea10392a9b94b5a9eb44013408c5b656c03067a6a /src/test/rustdoc-ui/coverage/doc-examples.rs
parentd8cbd9caca648ecdb66ff4c945c060762aa6297f (diff)
parent784dd22aac3f58eebc73ff54ae0ea43682392e68 (diff)
downloadrust-cc0ac7eecebd57278974329d3610bb2512740ef8.tar.gz
rust-cc0ac7eecebd57278974329d3610bb2512740ef8.zip
Rollup merge of #74759 - carbotaniuman:uabs, r=shepmaster
add `unsigned_abs` to signed integers

Mentioned on rust-lang/rfcs#2914

This PR simply adds an `unsigned_abs` to signed integers function which returns the correct absolute value as a unsigned integer.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions