Fix typos in comments.
This commit is contained in:
@@ -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
|
||||
/// ```rust
|
||||
/// # use cranelift_codegen::ir::ExternalName;
|
||||
/// // Create `ExternalName` from integer indicies
|
||||
/// // Create `ExternalName` from integer indices
|
||||
/// let name = ExternalName::user(123, 456);
|
||||
/// assert_eq!(name.to_string(), "u123:456");
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user