Skip to content

Commit cbea9c2

Browse files
fix Update weak_bounded_vec.rs (#910)
1 parent d3e826f commit cbea9c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bounded-collections/src/weak_bounded_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ where
445445
fn max_encoded_len() -> usize {
446446
// WeakBoundedVec<T, S> encodes like Vec<T> which encodes like [T], which is a compact u32
447447
// plus each item in the slice:
448-
// See: https://docs.substrate.io/reference/scale-codec/
448+
// See: https://docs.polkadot.com/polkadot-protocol/basics/data-encoding/#scale-codec-libraries
449449
codec::Compact(S::get())
450450
.encoded_size()
451451
.saturating_add(Self::bound().saturating_mul(T::max_encoded_len()))

0 commit comments

Comments
 (0)