about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-28 09:35:14 +0200
committerGitHub <noreply@github.com>2022-08-28 09:35:14 +0200
commit58174e3f7cdbab1fedcd268465a01b891e9e62e2 (patch)
treed290ad155e886d9cdbdd0c0363036d1901357cd0 /src/test/codegen/src-hash-algorithm
parent65820098b959a158e910a2992fb0784927c31bc1 (diff)
parent08c97323dee8b8558c8e1dc770885f0095360d32 (diff)
downloadrust-58174e3f7cdbab1fedcd268465a01b891e9e62e2.tar.gz
rust-58174e3f7cdbab1fedcd268465a01b891e9e62e2.zip
Rollup merge of #100296 - BlackHoleFox:os-error-aliases, r=thomcc
Add standard C error function aliases to last_os_error

This aids the discoverability of `io::Error::last_os_error()` by linking to commonly used error number functions from C/C++.

I've seen a few people not realize this exists, so hopefully this helps draw attention to the API to encourage using it over integer error codes.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions