Fix doc comments
diff --git a/tuf/src/metadata.rs b/tuf/src/metadata.rs
index 4d19071..d8aa7e3 100644
--- a/tuf/src/metadata.rs
+++ b/tuf/src/metadata.rs
@@ -904,7 +904,7 @@
 }
 
 impl RoleDefinition {
-    /// Create a new [RoleDefinition] with a given threshold and set of authorized [KeyID]s.
+    /// Create a new [RoleDefinition] with a given threshold and set of authorized [KeyId]s.
     pub fn new(threshold: u32, key_ids: HashSet<KeyId>) -> Result<Self> {
         if threshold < 1 {
             return Err(Error::IllegalArgument(format!("Threshold: {}", threshold)));
diff --git a/tuf/src/repo_builder.rs b/tuf/src/repo_builder.rs
index 1eca2b5..1e2207b 100644
--- a/tuf/src/repo_builder.rs
+++ b/tuf/src/repo_builder.rs
@@ -744,7 +744,7 @@
 
     /// Add a target that's loaded in from the reader. This will store the target in the repository.
     ///
-    /// This will hash the file with the hash specified in [RepoBuilder::file_hash_algorithms]. If
+    /// This will hash the file with the hash specified in [RepoBuilder::target_hash_algorithms]. If
     /// none was specified, the file will be hashed with [HashAlgorithm::Sha256].
     pub async fn add_target<Rd>(
         self,
@@ -760,7 +760,7 @@
 
     /// Add a target that's loaded in from the reader. This will store the target in the repository.
     ///
-    /// This will hash the file with the hash specified in [RepoBuilder::file_hash_algorithms]. If
+    /// This will hash the file with the hash specified in [RepoBuilder::target_hash_algorithms]. If
     /// none was specified, the file will be hashed with [HashAlgorithm::Sha256].
     pub async fn add_target_with_custom<Rd>(
         mut self,