Drop an import that stopped being used
get_string went out of node_text when the plain-text renderer stopped emitting markup; GetString went with it, and clippy's -D warnings is what said so. cargo build and cargo test both passed with it there, which is the reason that step exists.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DoVTH3jZqj9svgt2UD9t1p
1 file changed,
+1
−1
core/src/fragment.rs+1 −1
Intent
diff --git a/core/src/fragment.rs b/core/src/fragment.rs| index 1f251ba..3976613 100644 |
| --- a/core/src/fragment.rs |
| +++ b/core/src/fragment.rs |
| @@ -12,7 +12,7 @@ |
| use std::fmt::Write as _; |
| use yrs::types::xml::{XmlFragment, XmlOut, XmlTextRef}; |
| -use yrs::{Doc, GetString, ReadTxn, Text, Transact, Xml, XmlElementRef, XmlFragmentRef}; |
| +use yrs::{Doc, ReadTxn, Text, Transact, Xml, XmlElementRef, XmlFragmentRef}; |
| /// The CRDT root name. y-prosemirror's default, and part of the wire |
| /// contract — changing it silently orphans every existing document. |