diff options
| author | Austin Hellyer <[email protected]> | 2016-11-22 07:57:51 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-22 07:57:51 -0800 |
| commit | d4726f899cf6b86d805a8a2a77ec57782ec3bdd6 (patch) | |
| tree | 7966be3c6d6c4284bb618b88b3f146dd412af677 /src/model/mod.rs | |
| parent | Don't typo CreateEmbed::image field (diff) | |
| download | serenity-d4726f899cf6b86d805a8a2a77ec57782ec3bdd6.tar.xz serenity-d4726f899cf6b86d805a8a2a77ec57782ec3bdd6.zip | |
Rename the State to Cache
Diffstat (limited to 'src/model/mod.rs')
| -rw-r--r-- | src/model/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index 26041a9..7f8a6ea 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -138,11 +138,11 @@ pub enum Channel { /// A container for guilds. /// /// This is used to differentiate whether a guild itself can be used or whether -/// a guild needs to be retrieved from the state. +/// a guild needs to be retrieved from the cache. pub enum GuildContainer { /// A guild which can have its contents directly searched. Guild(Guild), - /// A guild's id, which can be used to search the state for a guild. + /// A guild's id, which can be used to search the cache for a guild. Id(GuildId), } |