lemmeknow icon indicating copy to clipboard operation
lemmeknow copied to clipboard

Use `&str` for tags

Open bee-san opened this issue 3 years ago • 0 comments

    /// Only include the Data which have at least one of the specified `tags`
    pub tags: Vec<String>,
    /// Only include Data which doesn't have any of the `excluded_tags`
    pub exclude_tags: Vec<String>,

String is a growable buffer, we do not expect them to grow so we should use str

bee-san avatar Nov 30 '22 09:11 bee-san