summaryrefslogtreecommitdiff
path: root/src/syntax/ast.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-20 14:14:13 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-20 14:21:59 +0100
commitb73b4f33bcf0e4ff2cfa8438433205cd3a323e43 (patch)
treeb59ee2c6f46558b7e6a0b2b50e0f7e93afeb3ace /src/syntax/ast.rs
parentdd331f007cb9c9968605f8d3eaef8fb498c21322 (diff)
Fix a few clippy lints
Diffstat (limited to 'src/syntax/ast.rs')
-rw-r--r--src/syntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs
index 169b0276..d70c4ae4 100644
--- a/src/syntax/ast.rs
+++ b/src/syntax/ast.rs
@@ -720,7 +720,7 @@ impl Ident {
self.0.text().trim_start_matches('#')
}
- /// Take out the container identifier.
+ /// Take out the contained identifier.
pub fn take(self) -> EcoString {
let text = self.0.into_text();
match text.strip_prefix('#') {