From 20340ce30db8ec17b0a09dc6e07c0fa2f5c3c0ab Mon Sep 17 00:00:00 2001 From: Tom Sullivan Date: Sun, 2 May 2021 19:28:32 +1000 Subject: [PATCH] Fix typo in `Traits` Change misspellings of `reciever` to `receiver` --- src/items/traits.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/items/traits.md b/src/items/traits.md index e5f766f5f..a4b68815b 100644 --- a/src/items/traits.md +++ b/src/items/traits.md @@ -81,9 +81,9 @@ Object safe traits can be the base trait of a [trait object]. A trait is * [`Rc`] * [`Arc`] * [`Pin

`] where `P` is one of the types above - * Does not have a `where Self: Sized` bound (reciever type of `Self` (i.e. `self`) implies this). + * Does not have a `where Self: Sized` bound (receiver type of `Self` (i.e. `self`) implies this). * Explicitly non-dispatchable functions require: - * Have a `where Self: Sized` bound (reciever type of `Self` (i.e. `self`) implies this). + * Have a `where Self: Sized` bound (receiver type of `Self` (i.e. `self`) implies this). ```rust # use std::rc::Rc;