Update doc examples.
This commit is contained in:
parent
e732623802
commit
74b173f943
|
@ -18,7 +18,7 @@
|
|||
//! Then in your native executable:
|
||||
//!
|
||||
//! ```rust,no_run
|
||||
//! use web_ext_native_messaging::read_message;
|
||||
//! use webextension_native_messaging::read_message;
|
||||
//!
|
||||
//! let message = read_message::<String>().unwrap();
|
||||
//! println!("{}", message);
|
||||
|
@ -39,7 +39,7 @@
|
|||
//! Then in your native executable:
|
||||
//!
|
||||
//! ```rust,no_run
|
||||
//! use web_ext_native_messaging::write_message;
|
||||
//! use webextension_native_messaging::write_message;
|
||||
//!
|
||||
//! let message = "Hey, there!".to_string();
|
||||
//! write_message(&message).unwrap();
|
||||
|
|
Loading…
Reference in New Issue