Skip to content

Commit

Permalink
Fix missed nit
Browse files Browse the repository at this point in the history
Co-Authored-By: Ralf Jung <post@ralfj.de>
  • Loading branch information
Aaron1011 and RalfJung committed Dec 7, 2019
1 parent 87fc30d commit 8f58a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/traits/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl dyn TraitEngine<'tcx> {
/// Creates a `TraitEngine` in a special 'delay generator witness' mode.
/// This imposes additional requirements for the caller in order to avoid
/// accepting unsound code, and should only be used by `FnCtxt`. All other
/// users of `TraitEngine` should use `TraitEngine::new`
/// users of `TraitEngine` should use `TraitEngine::new`.
///
/// A `TraitEngine` returned by this constructor will not attempt
/// to resolve any `GeneratorWitness` predicates involving auto traits,
Expand Down

0 comments on commit 8f58a71

Please sign in to comment.