Update is_empty docs.

This commit is contained in:
Stephen Chung
2022-08-14 14:39:30 +08:00
parent b75ea94908
commit 855ddd28a6
6 changed files with 12 additions and 14 deletions

View File

@@ -214,7 +214,7 @@ impl Scope<'_> {
pub fn len(&self) -> usize {
self.values.len()
}
/// Is the [`Scope`] empty?
/// Returns `true` if this [`Scope`] contains no variables.
///
/// # Example
///