Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/ast.rs')
-rw-r--r--crates/syntax/src/ast.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/syntax/src/ast.rs b/crates/syntax/src/ast.rs
index d8c7e15830..855b5a80a5 100644
--- a/crates/syntax/src/ast.rs
+++ b/crates/syntax/src/ast.rs
@@ -61,12 +61,6 @@ pub trait AstNode {
Self: Sized;
fn syntax(&self) -> &SyntaxNode;
- fn clone_for_update(&self) -> Self
- where
- Self: Sized,
- {
- Self::cast(self.syntax().clone_for_update()).unwrap()
- }
fn clone_subtree(&self) -> Self
where
Self: Sized,