Remove methods from intro example code
I'd like to keep this first code snippet as focused as possible on the
most important concepts. We'll need to figure out somewhere else to put
exhaustive documentation of the full feature set.
diff --git a/src/lib.rs b/src/lib.rs
index 780a26e..609db59 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -79,10 +79,8 @@
//!
//! // Functions implemented in C++.
//! fn make_demo(appname: &str) -> UniquePtr<ThingC>;
+//! fn get_name(thing: &ThingC) -> &CxxString;
//! fn do_thing(state: SharedThing);
-//!
-//! // Methods implemented in C++.
-//! fn get_name(self: &ThingC) -> &CxxString;
//! }
//!
//! extern "Rust" {
@@ -92,9 +90,6 @@
//!
//! // Functions implemented in Rust.
//! fn print_r(r: &ThingR);
-//!
-//! // Methods implemented in Rust.
-//! fn print(self: &ThingR);
//! }
//! }
//! #
@@ -104,12 +99,6 @@
//! # println!("called back with r={}", r.0);
//! # }
//! #
-//! # impl ThingR {
-//! # fn print(&self) {
-//! # println!("method called back with r={}", self.0);
-//! # }
-//! # }
-//! #
//! # fn main() {}
//! ```
//!