mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-03 08:43:30 +02:00
Add terminal links
This commit is contained in:
+6
-1
@@ -91,7 +91,12 @@ impl EmbeddedFiles {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn write_exercise_to_disk(&self, path: &Path, strategy: WriteStrategy) -> io::Result<()> {
|
||||
pub fn write_exercise_to_disk<P>(&self, path: P, strategy: WriteStrategy) -> io::Result<()>
|
||||
where
|
||||
P: AsRef<Path>,
|
||||
{
|
||||
let path = path.as_ref();
|
||||
|
||||
if let Some(file) = self
|
||||
.exercises_dir
|
||||
.files
|
||||
|
||||
Reference in New Issue
Block a user