From cc044042c4cd254cca6baafd06a69cd6d706c4f0 Mon Sep 17 00:00:00 2001 From: djowel Date: Wed, 21 Aug 2024 18:47:28 +0800 Subject: [PATCH] Comma at the end on expressions --- docs/modules/ROOT/pages/quick_start.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/modules/ROOT/pages/quick_start.adoc b/docs/modules/ROOT/pages/quick_start.adoc index 239ef98d..79985be9 100644 --- a/docs/modules/ROOT/pages/quick_start.adoc +++ b/docs/modules/ROOT/pages/quick_start.adoc @@ -240,11 +240,11 @@ Again, take note of the abundant use of user-defined literals for units such as ```c++ auto env_cfg = q::envelope::config { - 100_ms // attack rate - , 1_s // decay rate - , -12_dB // sustain level - , 5_s // sustain rate - , 1_s // release rate + 100_ms, // attack rate + 1_s, // decay rate + -12_dB, // sustain level + 5_s, // sustain rate + 1_s // release rate }; my_square_synth synth{ env_cfg };