Add splitn, rsplit and rsplitn equivalents to strings.

This commit is contained in:
Stephen Chung
2021-02-23 11:56:04 +08:00
parent 7f0d7f1bc7
commit ac3d8e35d4
3 changed files with 60 additions and 2 deletions

View File

@@ -627,7 +627,7 @@ pub struct Limits {
/// Context of a script evaluation process.
#[derive(Debug)]
pub struct EvalContext<'e, 'x, 'px: 'x, 'a, 's, 'm, 't, 'pt: 't> {
pub struct EvalContext<'e, 'x, 'px, 'a, 's, 'm, 't, 'pt> {
pub(crate) engine: &'e Engine,
pub(crate) scope: &'x mut Scope<'px>,
pub(crate) mods: &'a mut Imports,