1
Fork 0

Update doc examples.

This commit is contained in:
Bauke 2022-10-03 00:29:27 +02:00
parent e732623802
commit 74b173f943
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
//! Then in your native executable: //! Then in your native executable:
//! //!
//! ```rust,no_run //! ```rust,no_run
//! use web_ext_native_messaging::read_message; //! use webextension_native_messaging::read_message;
//! //!
//! let message = read_message::<String>().unwrap(); //! let message = read_message::<String>().unwrap();
//! println!("{}", message); //! println!("{}", message);
@ -39,7 +39,7 @@
//! Then in your native executable: //! Then in your native executable:
//! //!
//! ```rust,no_run //! ```rust,no_run
//! use web_ext_native_messaging::write_message; //! use webextension_native_messaging::write_message;
//! //!
//! let message = "Hey, there!".to_string(); //! let message = "Hey, there!".to_string();
//! write_message(&message).unwrap(); //! write_message(&message).unwrap();