Unverified Commit 7e9ed7e6 authored by xusd320's avatar xusd320 Committed by GitHub

chore(turbo-tasks-fs): remove duplicated value_to_string of FileSystemPath (#87227)

parent ec20150b
...@@ -1679,10 +1679,8 @@ impl FileSystemPath { ...@@ -1679,10 +1679,8 @@ impl FileSystemPath {
#[turbo_tasks::value_impl] #[turbo_tasks::value_impl]
impl ValueToString for FileSystemPath { impl ValueToString for FileSystemPath {
#[turbo_tasks::function] #[turbo_tasks::function]
async fn to_string(&self) -> Result<Vc<RcStr>> { fn to_string(&self) -> Vc<RcStr> {
Ok(Vc::cell( self.value_to_string()
format!("[{}]/{}", self.fs.to_string().await?, self.path).into(),
))
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment