Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use Path instead of PathBuf
  • Loading branch information
RobinMalfait committed Oct 30, 2024
commit 0f90f715092afcf8fdd36e049abe4926779ccb26
2 changes: 1 addition & 1 deletion crates/oxide/tests/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mod scanner {
use tailwindcss_oxide::*;
use tempfile::tempdir;

fn create_files_in(dir: &path::PathBuf, paths: &[(&str, &str)]) {
fn create_files_in(dir: &path::Path, paths: &[(&str, &str)]) {
// Create the necessary files
for (path, contents) in paths {
// Ensure we use the right path separator for the current platform
Expand Down