Rename document module to text_document (#11571)

This commit is contained in:
Micha Reiser 2024-05-27 18:32:21 +02:00 committed by GitHub
parent e28e737296
commit adc0a5d126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1,18 +1,18 @@
//! Types and utilities for working with text, modifying source files, and `Ruff <-> LSP` type conversion.
mod document;
mod notebook;
mod range;
mod replacement;
mod text_document;
use std::{collections::HashMap, path::PathBuf};
pub(crate) use document::DocumentVersion;
pub use document::TextDocument;
use lsp_types::PositionEncodingKind;
pub(crate) use notebook::NotebookDocument;
pub(crate) use range::{NotebookRange, RangeExt, ToRangeExt};
pub(crate) use replacement::Replacement;
pub(crate) use text_document::DocumentVersion;
pub use text_document::TextDocument;
use crate::{fix::Fixes, session::ResolvedClientCapabilities};