style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -151,8 +151,8 @@ impl DataProviderBounds {
|
||||
/// Returns true if `given_size` or `given_count` exhausts `self.size` or `self_count`,
|
||||
/// respectively.
|
||||
pub fn exhausted(self, given_size: Option<SizeBound>, given_count: Option<CountBound>) -> bool {
|
||||
self.count_exhausted(given_count.unwrap_or(CountBound::zero())) ||
|
||||
self.size_exhausted(given_size.unwrap_or(SizeBound::zero()))
|
||||
self.count_exhausted(given_count.unwrap_or(CountBound::zero()))
|
||||
|| self.size_exhausted(given_size.unwrap_or(SizeBound::zero()))
|
||||
}
|
||||
|
||||
/// Ensures the given encode-able slice meets both the length and count bounds.
|
||||
|
||||
Reference in New Issue
Block a user