diff --git a/.gitignore b/.gitignore index 2687354..3a1dd31 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules src/*.mjs .DS_Store +.idea \ No newline at end of file diff --git a/src/fs.rs b/src/fs.rs index 269b532..043647c 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -420,7 +420,7 @@ pub async fn rename_file( /// ```rust,no_run /// use tauri_sys::fs; /// -/// fs::write_binary_file(path, contents, BaseDirectory::Download).expect("could not writet binary file"); +/// fs::write_binary_file(path, contents, BaseDirectory::Download).expect("could not writes binary file"); /// ``` /// /// Requires [`allowlist > fs > writeBinaryFile`](https://tauri.app/v1/api/js/fs) to be enabled. @@ -448,7 +448,7 @@ pub async fn write_binary_file( /// ```rust,no_run /// use tauri_sys::fs; /// -/// fs::write_text_file(path, contents, BaseDirectory::Download).expect("could not writet binary file"); +/// fs::write_text_file(path, contents, BaseDirectory::Download).expect("could not writes binary file"); /// ``` /// /// Requires [`allowlist > fs > writeTextFile`](https://tauri.app/v1/api/js/fs) to be enabled. diff --git a/src/lib.rs b/src/lib.rs index 723d494..7383a20 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -78,7 +78,7 @@ //! #### Streams are buffered //! //! Streams, much like iterators, are poll-based meaning the caller is responsible for advancing it. -//! This allows greater flexibilty as you can freely decide *when* to process events. +//! This allows greater flexibility as you can freely decide *when* to process events. //! Event streams are internally backed by an unbounded queue so events are buffered until read, //! so no events are getting lost even if you temporarily pause processing. //! diff --git a/typos.toml b/typos.toml new file mode 100644 index 0000000..aca4be4 --- /dev/null +++ b/typos.toml @@ -0,0 +1,2 @@ +[files] +extend-exclude = ["tauri", "target"] \ No newline at end of file