Added documentation
This commit is contained in:
parent
a744e56537
commit
14bad374b0
@ -6,6 +6,7 @@ use web_sys::{ScrollIntoViewOptions, ScrollLogicalPosition};
|
|||||||
|
|
||||||
use crate::util::surrealdb::Participant;
|
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> {
|
fn sort_participants(participants: Vec<Participant>, search: String) -> Vec<Participant> {
|
||||||
let mut filtered_sorted_list: Vec<(Participant, f64)> = participants
|
let mut filtered_sorted_list: Vec<(Participant, f64)> = participants
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
Loading…
Reference in New Issue
Block a user