add some comments in derive

This commit is contained in:
Eric van der Toorn
2021-03-29 15:20:50 +02:00
parent 0bba55b3bf
commit 029a3cb45d

View File

@@ -32,8 +32,11 @@ static CARGO_MANIFEST_DIR: Lazy<PathBuf> = Lazy::new(|| {
});
enum CompilationSourceKind {
/// Source is a File (Path)
File(PathBuf),
/// Direct Raw sourcecode
SourceCode(String),
/// Source is a directory
Dir(PathBuf),
}