summaryrefslogtreecommitdiff
path: root/src/syntax/source.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/source.rs')
-rw-r--r--src/syntax/source.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/syntax/source.rs b/src/syntax/source.rs
index 6eb6fd5d..2f3e4144 100644
--- a/src/syntax/source.rs
+++ b/src/syntax/source.rs
@@ -34,9 +34,6 @@ struct Repr {
impl Source {
/// Create a new source file.
- ///
- /// The path must be canonical, so that the same source file has the same
- /// id even if accessed through different paths.
#[tracing::instrument(skip_all)]
pub fn new(id: FileId, text: String) -> Self {
let mut root = parse(&text);