Mercurial > crates > nonstick
comparison src/handle.rs @ 94:db167f96ba46
Replace todo! with unimplemented! in documentation.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 23 Jun 2025 13:04:27 -0400 |
parents | 5ddbcada30f2 |
children | 51c9d7e8261a |
comparison
equal
deleted
inserted
replaced
93:efc2b56c8928 | 94:db167f96ba46 |
---|---|
67 /// # Example | 67 /// # Example |
68 /// | 68 /// |
69 /// ```no_run | 69 /// ```no_run |
70 /// # use nonstick::{PamShared}; | 70 /// # use nonstick::{PamShared}; |
71 /// # use nonstick::logging::Level; | 71 /// # use nonstick::logging::Level; |
72 /// # let pam_hdl: Box<dyn PamShared> = todo!(); | 72 /// # let pam_hdl: Box<dyn PamShared> = unimplemented!(); |
73 /// # let delay_ms = 100; | 73 /// # let delay_ms = 100; |
74 /// # let url = "https://zombo.com"; | 74 /// # let url = "https://zombo.com"; |
75 /// // Usually, instead of calling this manually, just use the macros. | 75 /// // Usually, instead of calling this manually, just use the macros. |
76 /// nonstick::error!(pam_hdl, "something bad happened!"); | 76 /// nonstick::error!(pam_hdl, "something bad happened!"); |
77 /// nonstick::warn!(pam_hdl, "loading information took {delay_ms} ms"); | 77 /// nonstick::warn!(pam_hdl, "loading information took {delay_ms} ms"); |