diff options
| author | Ralf Jung <post@ralfj.de> | 2020-03-06 11:30:57 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-03-08 22:04:54 +0100 |
| commit | 85e1466232eadd2ec6b9c2ae0aa4030a39fde04f (patch) | |
| tree | 58fa117294a2286d69da7635994524f541f428bb | |
| parent | 4971d03ccfe9452753deb84fd958fd0b0e63f156 (diff) | |
| download | rust-85e1466232eadd2ec6b9c2ae0aa4030a39fde04f.tar.gz rust-85e1466232eadd2ec6b9c2ae0aa4030a39fde04f.zip | |
Fix typo
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
| -rw-r--r-- | src/librustc/mir/interpret/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/interpret/error.rs b/src/librustc/mir/interpret/error.rs index 731c3ee0d6a..5869c76345a 100644 --- a/src/librustc/mir/interpret/error.rs +++ b/src/librustc/mir/interpret/error.rs @@ -617,8 +617,8 @@ impl fmt::Debug for InterpError<'_> { } impl InterpError<'_> { - /// Some errors allocate to be created as they contain free-from strings. - /// And sometiems we want to be sure that did not happen as it is a + /// Some errors allocate to be created as they contain free-form strings. + /// And sometimes we want to be sure that did not happen as it is a /// waste of resources. pub fn allocates(&self) -> bool { match self { |
