We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91deed9 commit fe9ef52Copy full SHA for fe9ef52
crates/code2prompt/src/clipboard.rs
@@ -13,8 +13,7 @@ use anyhow::Context;
13
/// # Returns
14
///
15
/// * `Result<()>` - Returns Ok on success, or an error if the clipboard could not be accessed.
16
-pub fn copy_text_to_clipboard(rendered: &str) -> Result<()> {
17
- use anyhow::Result;
+pub fn copy_text_to_clipboard(rendered: &str) -> anyhow::Result<()> {
18
use arboard::Clipboard;
19
match Clipboard::new() {
20
Ok(mut clipboard) => {
0 commit comments