Fix doc test.

This commit is contained in:
Stephen Chung 2021-11-11 21:43:45 +08:00
parent 0fbc437916
commit 5e18ea34fe

View File

@ -802,6 +802,7 @@ impl AST {
///
/// let scope: Scope = ast.iter_literal_variables(true, false).collect();
///
/// # #[cfg(not(feature = "no_optimize"))]
/// assert_eq!(scope.len(), 2);
///
/// Ok(())