We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3e826f commit cbea9c2Copy full SHA for cbea9c2
bounded-collections/src/weak_bounded_vec.rs
@@ -445,7 +445,7 @@ where
445
fn max_encoded_len() -> usize {
446
// WeakBoundedVec<T, S> encodes like Vec<T> which encodes like [T], which is a compact u32
447
// plus each item in the slice:
448
- // See: https://docs.substrate.io/reference/scale-codec/
+ // See: https://docs.polkadot.com/polkadot-protocol/basics/data-encoding/#scale-codec-libraries
449
codec::Compact(S::get())
450
.encoded_size()
451
.saturating_add(Self::bound().saturating_mul(T::max_encoded_len()))
0 commit comments