Skip to content

Commit 8694090

Browse files
author
梶塚太智
committed
Append comment details
1 parent b846eb2 commit 8694090

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ impl Executor {
720720
});
721721
}
722722

723-
// Mapping
723+
// Mapping a list
724724
"map" => {
725725
let code = self.pop_stack().get_string();
726726
let vars = self.pop_stack().get_string();
@@ -740,7 +740,7 @@ impl Executor {
740740
self.stack.push(Type::List(result_list));
741741
}
742742

743-
// Filtering
743+
// Filtering a list value
744744
"filter" => {
745745
let code = self.pop_stack().get_string();
746746
let vars = self.pop_stack().get_string();
@@ -763,6 +763,7 @@ impl Executor {
763763
self.stack.push(Type::List(result_list));
764764
}
765765

766+
// Generate value from list
766767
"reduce" => {
767768
let code = self.pop_stack().get_string();
768769
let now = self.pop_stack().get_string();

0 commit comments

Comments
 (0)