Fix broken doctest
This commit is contained in:
parent
d2f49eeb17
commit
32bcb8113f
1 changed files with 2 additions and 2 deletions
|
@ -837,8 +837,8 @@ impl dyn Error + Send + Sync {
|
||||||
/// impl<'a> Error for SuperError<'a> {}
|
/// impl<'a> Error for SuperError<'a> {}
|
||||||
///
|
///
|
||||||
/// // Note that the error doesn't need to be `Send` or `Sync`.
|
/// // Note that the error doesn't need to be `Send` or `Sync`.
|
||||||
/// impl !Send for SuperError {}
|
/// impl<'a> !Send for SuperError<'a> {}
|
||||||
/// impl !Sync for SuperError {}
|
/// impl<'a> !Sync for SuperError<'a> {}
|
||||||
///
|
///
|
||||||
/// fn main() {
|
/// fn main() {
|
||||||
/// let msg = String::from("Huzzah!");
|
/// let msg = String::from("Huzzah!");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue