Skip to content

Commit adc0a5d

Browse files
authored
Rename document module to text_document (#11571)
1 parent e28e737 commit adc0a5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ruff_server/src/edit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//! Types and utilities for working with text, modifying source files, and `Ruff <-> LSP` type conversion.
22
3-
mod document;
43
mod notebook;
54
mod range;
65
mod replacement;
6+
mod text_document;
77

88
use std::{collections::HashMap, path::PathBuf};
99

10-
pub(crate) use document::DocumentVersion;
11-
pub use document::TextDocument;
1210
use lsp_types::PositionEncodingKind;
1311
pub(crate) use notebook::NotebookDocument;
1412
pub(crate) use range::{NotebookRange, RangeExt, ToRangeExt};
1513
pub(crate) use replacement::Replacement;
14+
pub(crate) use text_document::DocumentVersion;
15+
pub use text_document::TextDocument;
1616

1717
use crate::{fix::Fixes, session::ResolvedClientCapabilities};
1818

0 commit comments

Comments
 (0)