Fix formatting.

This commit is contained in:
Stephen Chung
2021-12-27 11:43:11 +08:00
parent a07faf7dd9
commit e7ca3f41dd
9 changed files with 21 additions and 39 deletions

View File

@@ -120,10 +120,11 @@ impl Engine {
///
/// This function is very low level.
///
/// ## Arguments
/// # Arguments
///
/// All the arguments are _consumed_, meaning that they're replaced by `()`.
/// This is to avoid unnecessarily cloning the arguments.
///
/// Do not use the arguments after this call. If they are needed afterwards,
/// clone them _before_ calling this function.
///
@@ -220,7 +221,7 @@ impl NativeCallContext<'_> {
///
/// This function is very low level.
///
/// ## Arguments
/// # Arguments
///
/// All arguments may be _consumed_, meaning that they may be replaced by `()`. This is to avoid
/// unnecessarily cloning the arguments.
@@ -276,10 +277,11 @@ impl FnPtr {
///
/// This function is very low level.
///
/// ## Arguments
/// # Arguments
///
/// All the arguments are _consumed_, meaning that they're replaced by `()`.
/// This is to avoid unnecessarily cloning the arguments.
///
/// Do not use the arguments after this call. If they are needed afterwards,
/// clone them _before_ calling this function.
#[deprecated(