From e33e1b7d6a9227aeba0577478e682452611d92a6 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Thu, 24 Jun 2021 16:30:04 +0100 Subject: [PATCH] better doc Co-Authored-By: parity-processbot <> --- runtime/common/src/traits.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/common/src/traits.rs b/runtime/common/src/traits.rs index dcda1c0aadc9..a43e731620aa 100644 --- a/runtime/common/src/traits.rs +++ b/runtime/common/src/traits.rs @@ -136,7 +136,8 @@ pub trait Leaser { /// Returns the current lease period. fn lease_period_index() -> Self::LeasePeriod; - /// Returns true if the parachain already has a lease in any of `slot_range`. + /// Returns true if the parachain already has a lease in any of lease periods in the inclusive + /// range `[first_period, last_period]`. fn already_leased( para_id: ParaId, first_period: Self::LeasePeriod,