about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-03 01:09:10 +0100
committerGitHub <noreply@github.com>2022-03-03 01:09:10 +0100
commitc9dc44be24c58ff13ce46416c4b97ab5c1bd8429 (patch)
tree1dd60f81224a4504b7476e88cef557f32b69ea14 /compiler/rustc_codegen_llvm/src/context.rs
parentbc1a8905d62f61f08a1657e5ad77d54b2977b8cc (diff)
parent7d603dc1b2330713a8739b933ec4fc564ee1127c (diff)
downloadrust-c9dc44be24c58ff13ce46416c4b97ab5c1bd8429.tar.gz
rust-c9dc44be24c58ff13ce46416c4b97ab5c1bd8429.zip
Rollup merge of #93663 - sunfishcode:sunfishcode/as-raw-name, r=joshtriplett
Rename `BorrowedFd::borrow_raw_fd` to `BorrowedFd::borrow_raw`.

Also, rename `BorrowedHandle::borrow_raw_handle` and
`BorrowedSocket::borrow_raw_socket` to `BorrowedHandle::borrow_raw` and
`BorrowedSocket::borrow_raw`.

This is just a minor rename to reduce redundancy in the user code calling
these functions, and to eliminate an inessential difference between
`BorrowedFd` code and `BorrowedHandle`/`BorrowedSocket` code.

While here, add a simple test exercising `BorrowedFd::borrow_raw_fd`.

r? ``````@joshtriplett``````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions