Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
  • Loading branch information
shawntabrizi and athei authored Apr 1, 2022
1 parent ddcbcc4 commit f26f80e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/support/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ where
}
}

/// Same as `with_transaction` but without a limit check on nested transactional layers.
/// Same as [`with_transaction`] but without a limit check on nested transactional layers.
///
/// This is mostly for backwards compatibility before there was a transactional layer limit.
/// It is recommended to only use `with_transaction` to avoid users from generating too many
/// It is recommended to only use [`with_transaction`] to avoid users from generating too many
/// transactional layers.
pub fn with_transaction_unchecked<R>(f: impl FnOnce() -> TransactionOutcome<R>) -> R {
use sp_io::storage::{commit_transaction, rollback_transaction, start_transaction};
Expand Down

0 comments on commit f26f80e

Please sign in to comment.