about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-04-02 21:28:21 +0900
committerGitHub <noreply@github.com>2021-04-02 21:28:21 +0900
commit080aa37629c123e0f9096de3726f66d80d635be7 (patch)
tree74ad35de870cf5abfa2065e877027ade7191c35e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent03ba8ab6067fc642c63cb3645db6beb4d425ae6e (diff)
parent828179d687e0e6d75a1816c45bc866445d057e04 (diff)
downloadrust-080aa37629c123e0f9096de3726f66d80d635be7.tar.gz
rust-080aa37629c123e0f9096de3726f66d80d635be7.zip
Rollup merge of #83721 - GuillaumeGomez:copy-use, r=Nemo157
Add a button to copy the "use statement"

Fixes https://github.com/rust-lang/rust/issues/50239

When clicking on the button, it'll add the elements prepended by "use " and will end with a ";". So in the images below, I now have in my clipboard `use std::fs::OpenOptions;`.

A screenshot of the newly added button:

![Screenshot from 2021-03-31 22-12-12](https://user-images.githubusercontent.com/3050060/113205430-90e64500-926e-11eb-8538-529829f611ec.png)

A screenshot after it was clicked:

![Screenshot from 2021-03-31 22-15-31](https://user-images.githubusercontent.com/3050060/113205532-ad827d00-926e-11eb-893d-35f2f8f92696.png)

r? `@Nemo157`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions