Rollup merge of #73997 - rust-lang:lcnr-patch-1, r=jonas-schievink

fix typo

r? @Dylan-DPC
This commit is contained in:
Manish Goregaokar 2020-07-03 17:17:09 -07:00 committed by GitHub
commit e005c97255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -694,7 +694,7 @@ mod impls {
)] )]
#[lang = "discriminant_kind"] #[lang = "discriminant_kind"]
pub trait DiscriminantKind { pub trait DiscriminantKind {
/// The type of the dicriminant, which must satisfy the trait /// The type of the discriminant, which must satisfy the trait
/// bounds required by `mem::Discriminant`. /// bounds required by `mem::Discriminant`.
type Discriminant: Clone + Copy + Debug + Eq + PartialEq + Hash + Send + Sync + Unpin; type Discriminant: Clone + Copy + Debug + Eq + PartialEq + Hash + Send + Sync + Unpin;
} }