Fix deps for local docs build for Rust 1.75.0 (#2896)

- Fix docs deps build issue
(https://github.com/servo/rust-smallvec/issues/327) (Please forgive me
and LMK if there are processes I need to follow for the bump a dep here
I am not aware of).
- Fix links for `meta_contributing` docs, internal and external.
- `cargo +nightly fmt` for `/docs/...` files
This commit is contained in:
Nuke
2024-01-09 18:18:59 -07:00
committed by GitHub
parent ce4e5496de
commit 01ea45c3a1
4 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ pub mod pallet {
// ensure sender has enough balance, and if so, calculate what is left after `amount`.
let sender_balance = Balances::<T>::get(&sender).ok_or("NonExistentAccount")?;
if sender_balance < amount {
return Err("InsufficientBalance".into())
return Err("InsufficientBalance".into());
}
let reminder = sender_balance - amount;