Skip to content

Commit aadd086

Browse files
committed
primitives - platform - Website uses Vec for categories
1 parent e3a0525 commit aadd086

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

primitives/src/platform.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::collections::HashSet;
2-
31
use serde::{Deserialize, Serialize};
42
use url::Url;
53

@@ -8,7 +6,7 @@ use crate::{AdSlot, AdUnit};
86
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
97
pub struct Website {
108
#[serde(default)]
11-
pub categories: HashSet<String>,
9+
pub categories: Vec<String>,
1210
#[serde(default)]
1311
pub accepted_referrers: Vec<Url>,
1412
}

0 commit comments

Comments
 (0)