From 74d39be59c0d79dbeafa0fdf17475c79e2007ac0 Mon Sep 17 00:00:00 2001 From: z78078 Date: Fri, 8 Jul 2022 17:11:50 +0800 Subject: [PATCH] add comment to the code block --- nac3artiq/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nac3artiq/src/lib.rs b/nac3artiq/src/lib.rs index 80371702..d9498825 100644 --- a/nac3artiq/src/lib.rs +++ b/nac3artiq/src/lib.rs @@ -402,6 +402,7 @@ impl Nac3 { } }) { + // This part check if __init__ method decorate with inappropriate decorator (rpc) if name == &"__init__".into() { return Err(CompileError::new_err(format!( "compilation failed\n----------\nConstructor __init__ function should not decorated with rpc decorator (at {})",