Skip to content

Commit

Permalink
chore: update combine_config_map_and_pointers doc (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadin-Starkware authored Nov 3, 2024
1 parent ff604e9 commit 1167e77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/papyrus_config/src/dumping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ pub fn ser_pointer_target_required_param(
)
}

// Takes a config map and a vector of {target param, serialized pointer, and vector of params that
// will point to it}.
// Adds to the map the target params.
// Replaces the value of the pointers to contain only the name of the target they point to.
/// Takes a config map and a vector of target parameters with their serialized representations.
/// Adds each target param to the config map.
/// Updates entries in the map to point to these targets, replacing values of entries that match
/// the target parameter paths to contain only the name of the target they point to.
pub(crate) fn combine_config_map_and_pointers(
mut config_map: BTreeMap<ParamPath, SerializedParam>,
pointers: &Vec<(ParamPath, SerializedParam)>,
Expand Down

0 comments on commit 1167e77

Please sign in to comment.