Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Co-Authored-By: Oliver Scherer <[email protected]>
  • Loading branch information
RalfJung and oli-obk committed May 10, 2020
1 parent d3b2e1f commit a06740c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/intern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ pub enum InternKind {
/// Intern `ret` and everything it references.
///
/// This *cannot raise an interpreter error*. Doing so is left to validation, which
/// trakcs where in the value we are and thus can show much better error messages.
/// tracks where in the value we are and thus can show much better error messages.
/// Any errors here would anyway be turned into `const_err` lints, whereas validation failures
/// are hard errors.
pub fn intern_const_alloc_recursive<M: CompileTimeMachine<'mir, 'tcx>>(
Expand Down

0 comments on commit a06740c

Please sign in to comment.