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

@@ -1,6 +1,6 @@
//! Module containing error definitions for the evaluation process.
use crate::{Dynamic, ImmutableString, ParseErrorType, Position, INT, RhaiError};
use crate::{Dynamic, ImmutableString, ParseErrorType, Position, RhaiError, INT};
#[cfg(feature = "no_std")]
use core_error::Error;
#[cfg(not(feature = "no_std"))]

View File

@@ -204,10 +204,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.
#[inline]