Skip to content

Commit b1299a3

Browse files
author
Damien LACHAUME / PALO-IT
committed
Fix comments to update them
1 parent 06d3dd9 commit b1299a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mithril-build-script/src/fake_aggregator.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ pub type FileContent = String;
99

1010
/// In memory representation of a folder containing data imported using the `scripts/import.sh` script
1111
/// of the fake aggregator.
12-
///
13-
/// List items are just their corresponding file content loaded in memory.
14-
/// Individual items are btreemap with the source filename as key and the file content as value.
1512
#[derive(Debug, Default)]
1613
pub struct FakeAggregatorData {
1714
epoch_settings: FileContent,
@@ -239,7 +236,7 @@ pub fn generate_list_getter(fun_name: &str, source_json: FileContent) -> String
239236
)
240237
}
241238

242-
/// pub(crate) fn $fun_name() -> &'static str
239+
/// pub(crate) fn $array_name() -> [&'a str; $ids.len]
243240
pub fn generate_ids_array(array_name: &str, ids: BTreeSet<ArtifactId>) -> String {
244241
let mut ids_list = String::new();
245242

0 commit comments

Comments
 (0)