'cargo fmt'

pull/11355/head
Michael Davis 4 months ago
parent e21e4eb825
commit 3963969b89
No known key found for this signature in database

@ -238,7 +238,9 @@ pub type LSPArray = Vec<serde_json::Value>;
/// Position in a text document expressed as zero-based line and character offset. /// Position in a text document expressed as zero-based line and character offset.
/// A position is between two characters like an 'insert' cursor in a editor. /// A position is between two characters like an 'insert' cursor in a editor.
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Copy, Clone, Default, Deserialize, Serialize, Hash)] #[derive(
Debug, Eq, PartialEq, Ord, PartialOrd, Copy, Clone, Default, Deserialize, Serialize, Hash,
)]
pub struct Position { pub struct Position {
/// Line position in a document (zero-based). /// Line position in a document (zero-based).
pub line: u32, pub line: u32,

Loading…
Cancel
Save