From 692b88614a1eed11aba43b586df65bbb31ffeefd Mon Sep 17 00:00:00 2001 From: Equim Date: Tue, 20 Feb 2024 19:46:14 +0800 Subject: [PATCH] skip label in view generation --- src/review/mortal.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/review/mortal.rs b/src/review/mortal.rs index 6b527ec..fc405d6 100644 --- a/src/review/mortal.rs +++ b/src/review/mortal.rs @@ -66,7 +66,8 @@ struct Detail { q_value: f32, prob: f32, - // not displayed + // not displayed, for sorting only + #[serde(skip)] label: Label, }