Skip to content

Commit edd93e5

Browse files
committed
Small copilot suggestions
1 parent a89462c commit edd93e5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/simulation/prices.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,10 @@ where
379379
/// existing assets
380380
/// * `activity_keys_for_candidates` - Iterator over activity keys from optimisation solution for
381381
/// candidate assets
382-
/// * `annual_activities` - Map of annual activities for each asset computed by
383382
/// `calculate_annual_activities`. This only needs to include existing assets.
384383
/// * `upstream_prices` - Prices for commodities upstream of the ones we are calculating prices for
385384
/// * `year` - The year for which prices are being calculated
386-
/// * `markets_to_price` - Set of markets to calculate full cost prices for
385+
/// * `markets_to_price` - Set of markets to calculate marginal prices for
387386
///
388387
/// # Returns
389388
///
@@ -462,7 +461,7 @@ where
462461
prices
463462
}
464463

465-
/// Calculated annual activities for each asset by summing across all time slices
464+
/// Calculate annual activities for each asset by summing across all time slices
466465
fn calculate_annual_activities<'a, I>(activities: I) -> HashMap<AssetRef, Activity>
467466
where
468467
I: IntoIterator<Item = (&'a AssetRef, &'a TimeSliceID, Activity)>,

0 commit comments

Comments
 (0)