about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-02-04 13:33:06 -0800
committerDan Gohman <dev@sunfishcode.online>2022-02-04 13:41:00 -0800
commit4c4e43035f8b8bcc171e4a359bb5b42108eadf41 (patch)
tree688140c5dffe06e665c5e4de2f7766159ff8dcdd /compiler/rustc_codegen_llvm/src/context.rs
parent6abb6385b2cb7249f67b9b3ce7522527767dd907 (diff)
downloadrust-4c4e43035f8b8bcc171e4a359bb5b42108eadf41.tar.gz
rust-4c4e43035f8b8bcc171e4a359bb5b42108eadf41.zip
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`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions