From 6c63d36ca3cf4e7080fe4e4c2368c2091357c960 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 18 Oct 2022 09:44:14 +0000 Subject: [PATCH] Document the `CardSet::from::` changes --- src/data/setbundle/set.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/setbundle/set.rs b/src/data/setbundle/set.rs index da9d7d3..5962e88 100644 --- a/src/data/setbundle/set.rs +++ b/src/data/setbundle/set.rs @@ -94,6 +94,8 @@ impl CardSet { /// Get the [`CardSet`] from its internal id. /// +/// [`CardSet::Worldwalker`] and [`CardSet::TheDarkinSaga`] share the same id, so a variant cannot be determined. +/// /// [`CardSet::Events`] cards have the id of the set they were released in, so it is impossible to determine if a card belongs to that set from its id. impl From for CardSet { fn from(value: u32) -> Self {