From 029a3cb45df9f8d3749e7933b5afc008563d25de Mon Sep 17 00:00:00 2001 From: Eric van der Toorn Date: Mon, 29 Mar 2021 15:20:50 +0200 Subject: [PATCH] add some comments in derive --- derive/src/compile_bytecode.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/derive/src/compile_bytecode.rs b/derive/src/compile_bytecode.rs index bca2e76213..43d84c7705 100644 --- a/derive/src/compile_bytecode.rs +++ b/derive/src/compile_bytecode.rs @@ -32,8 +32,11 @@ static CARGO_MANIFEST_DIR: Lazy = Lazy::new(|| { }); enum CompilationSourceKind { + /// Source is a File (Path) File(PathBuf), + /// Direct Raw sourcecode SourceCode(String), + /// Source is a directory Dir(PathBuf), }