We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4971d03 commit 85e1466Copy full SHA for 85e1466
src/librustc/mir/interpret/error.rs
@@ -617,8 +617,8 @@ impl fmt::Debug for InterpError<'_> {
617
}
618
619
impl InterpError<'_> {
620
- /// Some errors allocate to be created as they contain free-from strings.
621
- /// 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
622
/// waste of resources.
623
pub fn allocates(&self) -> bool {
624
match self {
0 commit comments