cleanup
This commit is contained in:
parent
7820a409bf
commit
3e69eed22f
7 changed files with 51 additions and 21 deletions
|
@ -24,8 +24,6 @@ pub async fn read_text() -> crate::Result<String> {
|
|||
/// write_text("Tauri is awesome!").await;
|
||||
/// assert_eq!(read_text().await, "Tauri is awesome!");
|
||||
/// ```
|
||||
///
|
||||
/// @returns A promise indicating the success or failure of the operation.
|
||||
#[inline(always)]
|
||||
pub async fn write_text(text: &str) -> crate::Result<()> {
|
||||
Ok(inner::writeText(text).await?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue