Added documentation

This commit is contained in:
xeovalyte 2024-04-02 18:47:40 +02:00
parent a744e56537
commit 14bad374b0
No known key found for this signature in database

View File

@ -6,6 +6,7 @@ use web_sys::{ScrollIntoViewOptions, ScrollLogicalPosition};
use crate::util::surrealdb::Participant;
// Functions to sort all the participants and include a search term
fn sort_participants(participants: Vec<Participant>, search: String) -> Vec<Participant> {
let mut filtered_sorted_list: Vec<(Participant, f64)> = participants
.into_iter()