compiler: fix typos
librustdoc: fix typos
This commit is contained in:
parent
e51e98dde6
commit
b2db793f30
3 changed files with 3 additions and 3 deletions
|
@ -1698,7 +1698,7 @@ pub enum Level {
|
|||
/// internal overflows, some file operation errors.
|
||||
///
|
||||
/// Its `EmissionGuarantee` is `FatalAbort`, except in the non-aborting "almost fatal" case
|
||||
/// that is occasionaly used, where it is `FatalError`.
|
||||
/// that is occasionally used, where it is `FatalError`.
|
||||
Fatal,
|
||||
|
||||
/// An error in the code being compiled, which prevents compilation from finishing. This is the
|
||||
|
|
|
@ -85,7 +85,7 @@ impl<'tcx> FnCtxt<'_, 'tcx> {
|
|||
return false;
|
||||
}
|
||||
|
||||
// not setting the `fallback_has_occured` field here because
|
||||
// not setting the `fallback_has_occurred` field here because
|
||||
// that field is only used for type fallback diagnostics.
|
||||
for effect in unsolved_effects {
|
||||
let expected = self.tcx.consts.true_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue