Migrate to docs.substrate.io throughout (#10007)

* all reverences of substrate.dev replaced with *correct* docs.substrate.io links

* fix links in non-cargo files, errors in replace

* homepage https://substrate.io

* cargo +nightly fmt

* FMT

Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Dan Shields
2021-10-13 12:56:56 -06:00
committed by GitHub
parent aad0682c45
commit 8db7ec9cc9
222 changed files with 231 additions and 230 deletions
@@ -337,7 +337,7 @@ where
fn max_encoded_len() -> usize {
// BoundedVec<T, S> encodes like Vec<T> which encodes like [T], which is a compact u32
// plus each item in the slice:
// https://substrate.dev/rustdocs/v3.0.0/src/parity_scale_codec/codec.rs.html#798-808
// https://docs.substrate.io/v3/advanced/scale-codec
codec::Compact(S::get())
.encoded_size()
.saturating_add(Self::bound().saturating_mul(T::max_encoded_len()))