fix: remove outdated rustdoc about tokio channels (#1961)

This seems to be a relic of when napi-rs used channels to send data to the
tokio runtime. This removes the outdated doc, as this could be misleading if
one wants to understand what those channels are about.
This commit is contained in:
Louis 2024-02-20 09:36:29 +01:00 committed by GitHub
parent 1d93461dcd
commit 90e3a349db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,14 +34,6 @@
//! } //! }
//! ``` //! ```
//! //!
//! ***Tokio channel in `napi-rs` buffer size is default `100`.***
//!
//! ***You can adjust it via `NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE` environment variable***
//!
//! ```
//! NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE=1000 node ./app.js
//! ```
//!
//! ### latin1 //! ### latin1
//! //!
//! Decode latin1 string from JavaScript using [encoding_rs](https://docs.rs/encoding_rs). //! Decode latin1 string from JavaScript using [encoding_rs](https://docs.rs/encoding_rs).