docs: improvements from PR comments

This commit is contained in:
TAMARA LIPOWSKI
2025-02-06 11:34:57 -05:00
parent 2b43ecdf29
commit 2b94a3f213
2 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ pub struct SwapEncoderRegistry {
impl SwapEncoderRegistry {
/// Populates the registry with the `SwapEncoders` for the given blockchain by parsing the
/// executors in the file at the given path.
/// executors' addresses in the file at the given path.
pub fn new(executors_file_path: &str, blockchain: Chain) -> Result<Self, EncodingError> {
let config_str = fs::read_to_string(executors_file_path)?;
let config: HashMap<Chain, HashMap<String, String>> = serde_json::from_str(&config_str)?;