Skip to content

Commit

Permalink
Merge branch 'dev' into lordpatate-fix-backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs authored Aug 15, 2024
2 parents f386350 + 487cbdf commit 74582e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/filesystem/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ pub trait FileSystem: Send + Sync {
}

/// Corresponds to [`std::fs::write()`].
/// Will open a file at the path, create it if it exists (and truncate it) and then write the provided bytes.
/// Will open a file at the path, create it if it does not exist (and truncate it)
/// and then write the provided bytes.
fn write(&self, path: impl AsRef<camino::Utf8Path>, data: impl AsRef<[u8]>) -> Result<()> {
use std::io::Write;

Expand Down

0 comments on commit 74582e5

Please sign in to comment.