Skip to content

Commit

Permalink
Rename document module to text_document (#11571)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed May 27, 2024
1 parent e28e737 commit adc0a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/ruff_server/src/edit.rs
Original file line number Diff line number Diff line change
@@ -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};

Expand Down
File renamed without changes.

0 comments on commit adc0a5d

Please sign in to comment.