diff options
author | Neal H. Walfield <neal@pep.foundation> | 2022-01-06 16:05:18 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2022-01-12 14:52:20 +0100 |
commit | 0d2bccd81ebb296453ecdf6114ca92a54dcc9830 (patch) | |
tree | e86e9de59fb066768b97148befc8571e1d6f39d8 | |
parent | b72c6c6fc2fd5dd61386e929a726dfe667874853 (diff) |
buffered-reader, ipc: Fix documentation typo.
-rw-r--r-- | buffered-reader/src/macros.rs | 2 | ||||
-rw-r--r-- | ipc/src/macros.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/buffered-reader/src/macros.rs b/buffered-reader/src/macros.rs index 7d2142e9..2738d178 100644 --- a/buffered-reader/src/macros.rs +++ b/buffered-reader/src/macros.rs @@ -86,7 +86,7 @@ macro_rules! tracer { /// trait bounds: /// /// ``` -/// pub struct MyWriterWithLifetime<a', C, W: io::Write> {} +/// pub struct MyWriterWithLifetime<'a, C, W: io::Write> {} /// assert_send_and_sync!(MyWriterStruct<'_, C, W> where C, W: io::Write); /// ``` /// diff --git a/ipc/src/macros.rs b/ipc/src/macros.rs index 18ace037..c0fc6091 100644 --- a/ipc/src/macros.rs +++ b/ipc/src/macros.rs @@ -142,7 +142,7 @@ macro_rules! time_it { /// trait bounds: /// /// ``` -/// pub struct MyWriterWithLifetime<a', C, W: io::Write> {} +/// pub struct MyWriterWithLifetime<'a, C, W: io::Write> {} /// assert_send_and_sync!(MyWriterStruct<'_, C, W> where C, W: io::Write); /// ``` /// |