Skip to content

Commit

Permalink
Merge pull request theupdateframework#264 from cavokz/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
erickt authored Jan 14, 2020
2 parents 3c71908 + 5914753 commit 2fdd334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ impl TargetsMetadataBuilder {
self
}

/// Add `Delegatiuons` to this target metadata.
/// Add `Delegations` to this target metadata.
pub fn delegations(mut self, delegations: Delegations) -> Self {
self.delegations = Some(delegations);
self
Expand Down
2 changes: 1 addition & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn nested_delegation() {

let delegations = Delegations::new(
hashmap! {
delegation_b_key.public().key_id().clone() => delegation_a_key.public().clone(),
delegation_a_key.public().key_id().clone() => delegation_a_key.public().clone(),
},
vec![Delegation::new(
MetadataPath::new("delegation-a").unwrap(),
Expand Down

0 comments on commit 2fdd334

Please sign in to comment.