mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
[ty] Remove unused APIs from ty_server (#27398)
## Summary This PR removes unused APIs from ty_server identified by Hawk 0.1.11. It is split from #27339 so the removals can be reviewed independently at the crate boundary. - 4 net lines removed - 4 deletions and 0 additions - 1 files changed
This commit is contained in:
1 parent
103168bd42
commit
8089b331da
1 file changed
-4
@@ -70,10 +70,6 @@ impl TextDocument {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn into_contents(self) -> String {
|
||||
self.contents
|
||||
}
|
||||
|
||||
pub(crate) fn uri(&self) -> &Uri {
|
||||
&self.uri
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user