changeset 94:db167f96ba46

Replace todo! with unimplemented! in documentation.
author Paul Fisher <paul@pfish.zone>
date Mon, 23 Jun 2025 13:04:27 -0400
parents efc2b56c8928
children 51c9d7e8261a
files src/conv.rs src/handle.rs
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/conv.rs	Mon Jun 23 13:02:58 2025 -0400
+++ b/src/conv.rs	Mon Jun 23 13:04:27 2025 -0400
@@ -255,7 +255,7 @@
 ///
 /// fn my_terminal_prompt(messages: &[Message]) {
 ///     // ...
-/// #    todo!()
+/// #    unimplemented!()
 /// }
 ///
 /// fn main() {
@@ -309,27 +309,27 @@
 /// impl SimpleConversation for MySimpleConvo {
 ///     // ...
 /// # fn prompt(&mut self, request: &str) -> Result<String> {
-/// #     todo!()
+/// #     unimplemented!()
 /// # }
 /// #
 /// # fn masked_prompt(&mut self, request: &str) -> Result<String> {
-/// #     todo!()
+/// #     unimplemented!()
 /// # }
 /// #
 /// # fn error_msg(&mut self, message: &str) {
-/// #     todo!()
+/// #     unimplemented!()
 /// # }
 /// #
 /// # fn info_msg(&mut self, message: &str) {
-/// #     todo!()
+/// #     unimplemented!()
 /// # }
 /// #
 /// # fn radio_prompt(&mut self, request: &str) -> Result<String> {
-/// #     todo!()
+/// #     unimplemented!()
 /// # }
 /// #
 /// # fn binary_prompt(&mut self, (data, data_type): (&[u8], u8)) -> Result<BinaryData> {
-/// #     todo!()
+/// #     unimplemented!()
 /// # }
 /// }
 ///
--- a/src/handle.rs	Mon Jun 23 13:02:58 2025 -0400
+++ b/src/handle.rs	Mon Jun 23 13:04:27 2025 -0400
@@ -69,7 +69,7 @@
     /// ```no_run
     /// # use nonstick::{PamShared};
     /// # use nonstick::logging::Level;
-    /// # let pam_hdl: Box<dyn PamShared> = todo!();
+    /// # let pam_hdl: Box<dyn PamShared> = unimplemented!();
     /// # let delay_ms = 100;
     /// # let url = "https://zombo.com";
     /// // Usually, instead of calling this manually, just use the macros.