Fix typos in comments.

This commit is contained in:
Dan Gohman
2018-11-12 15:15:02 -08:00
parent cd7c57e598
commit c2f5bc00a5

View File

@@ -68,12 +68,12 @@ impl ExternalName {
} }
} }
/// Create a new external name from user-provided integer indicies. /// Create a new external name from user-provided integer indices.
/// ///
/// # Examples /// # Examples
/// ```rust /// ```rust
/// # use cranelift_codegen::ir::ExternalName; /// # use cranelift_codegen::ir::ExternalName;
/// // Create `ExternalName` from integer indicies /// // Create `ExternalName` from integer indices
/// let name = ExternalName::user(123, 456); /// let name = ExternalName::user(123, 456);
/// assert_eq!(name.to_string(), "u123:456"); /// assert_eq!(name.to_string(), "u123:456");
/// ``` /// ```