diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index 410eef5e092d..51381447fedc 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -471,7 +471,7 @@ pub enum Diverges { } impl Diverges { - /// Creates a `Diverges::Always` with the provided span and the default note message + /// Creates a `Diverges::Always` with the provided `span` and the default note message. fn always(span: Span) -> Diverges { Diverges::Always { span,