Skip to content

Commit

Permalink
Re-apply formatting due to line wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
dcompoze committed Mar 24, 2024
1 parent 99a2210 commit 0140767
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions substrate/frame/support/procedural/src/dynamic_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ fn ensure_codec_index(attrs: &Vec<syn::Attribute>, span: Span) -> Result<()> {

/// Used to inject arguments into the inner `#[dynamic_pallet_params(..)]` attribute.
///
/// This allows the outer `#[dynamic_params(..)]` attribute to specify some arguments that don't need
/// to be repeated every time.
/// This allows the outer `#[dynamic_params(..)]` attribute to specify some arguments that don't
/// need to be repeated every time.
struct MacroInjectArgs {
runtime_params: syn::Ident,
params_pallet: syn::Type,
Expand Down
7 changes: 4 additions & 3 deletions substrate/frame/support/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ pub trait StorageMap<K: FullEncode, V: FullCodec> {
///
/// # Warning
///
/// - `None` does not mean that `get()` does not return a value. The default value is completely
/// - `None` does not mean that `get()` does not return a value. The default value is
/// completely
/// ignored by this function.
///
/// - The value returned is the non-deduplicated length of the underlying Vector in storage.This
Expand Down Expand Up @@ -1488,8 +1489,8 @@ pub trait StorageDecodeLength: private::Sealed + codec::DecodeLength {
}
}

/// It is expected that the length is at the beginning of the encoded object and that the length is a
/// `Compact<u32>`.
/// It is expected that the length is at the beginning of the encoded object and that the length is
/// a `Compact<u32>`.
///
/// # Note
/// The length returned by this trait is not deduplicated, i.e. it is the length of the underlying
Expand Down
3 changes: 2 additions & 1 deletion substrate/frame/support/src/storage/types/double_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ where
///
/// # Warning
///
/// - `None` does not mean that `get()` does not return a value. The default value is completely
/// - `None` does not mean that `get()` does not return a value. The default value is
/// completely
/// ignored by this function.
///
/// - The value returned is the non-deduplicated length of the underlying Vector in storage.This
Expand Down
3 changes: 2 additions & 1 deletion substrate/frame/support/src/storage/types/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ where
///
/// # Warning
///
/// - `None` does not mean that `get()` does not return a value. The default value is completely
/// - `None` does not mean that `get()` does not return a value. The default value is
/// completely
/// ignored by this function.
///
/// - The value returned is the non-deduplicated length of the underlying Vector in storage.This
Expand Down
3 changes: 2 additions & 1 deletion substrate/frame/support/src/storage/types/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ where
///
/// # Warning
///
/// - `None` does not mean that `get()` does not return a value. The default value is completely
/// - `None` does not mean that `get()` does not return a value. The default value is
/// completely
/// ignored by this function.
///
/// - The value returned is the non-deduplicated length of the underlying Vector in storage.This
Expand Down

0 comments on commit 0140767

Please sign in to comment.