Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 6758798

Browse files
committed
rls-span: Convert to 2018 edition
1 parent e1358ff commit 6758798

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

rls-span/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "rls-span"
33
version = "0.4.1"
4+
edition = "2018"
45
authors = ["Nick Cameron <[email protected]>"]
56
description = "Types for identifying code spans/ranges"
67
license = "Apache-2.0/MIT"

rls-span/src/compiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
///! https://github.com/rust-lang/rust/blob/master/src/libsyntax/json.rs
44
use std::path::PathBuf;
55

6-
use {Column, OneIndexed, Row, Span};
6+
use crate::{Column, OneIndexed, Row, Span};
77

88
#[cfg_attr(feature = "derive", derive(Deserialize))]
99
#[derive(Debug, Clone)]

rls-span/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
extern crate serde;
21
#[cfg(feature = "derive")]
32
#[macro_use]
43
extern crate serde_derive;

0 commit comments

Comments
 (0)