aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-22 07:57:51 -0800
committerAustin Hellyer <[email protected]>2016-11-22 07:57:51 -0800
commitd4726f899cf6b86d805a8a2a77ec57782ec3bdd6 (patch)
tree7966be3c6d6c4284bb618b88b3f146dd412af677 /src/lib.rs
parentDon't typo CreateEmbed::image field (diff)
downloadserenity-d4726f899cf6b86d805a8a2a77ec57782ec3bdd6.tar.xz
serenity-d4726f899cf6b86d805a8a2a77ec57782ec3bdd6.zip
Rename the State to Cache
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4daa8d9..ef8e8d0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -19,11 +19,11 @@
//! you. See the [Connection's documentation][`Connection`] for more
//! information.
//!
-//! A [`State`] is also provided for you. This will be updated automatically for
+//! A [`Cache`] is also provided for you. This will be updated automatically for
//! you as data is received from the Discord API via events. When calling a
-//! method on a [`Context`], the state will first be searched for relevant data
+//! method on a [`Context`], the cache will first be searched for relevant data
//! to avoid unnecessary HTTP requests to the Discord API. For more information,
-//! see the [state's module-level documentation][state docs].
+//! see the [cache's module-level documentation][cache docs].
//!
//! Note that - although this documentation will try to be as up-to-date and
//! accurate as possible - Discord hosts [official documentation][docs]. If you
@@ -69,11 +69,11 @@
//! [`Context`]: client/struct.Context.html
//! [`Event`]: model/enum.Event.html
//! [`Event::MessageCreate`]: model/enum.Event.html#variant.MessageCreate
-//! [`State`]: ext/state/struct.State.html
+//! [`Cache`]: ext/cache/struct.Cache.html
//! [client's module-level documentation]: client/index.html
//! [docs]: https://discordapp.com/developers/docs/intro
//! [examples]: https://github.com/zeyla/serenity.rs/tree/master/examples
-//! [state docs]: ext/state/index.html
+//! [cache docs]: ext/cache/index.html
#![allow(doc_markdown, inline_always, unknown_lints)]
#![warn(dead_code, enum_glob_use, if_not_else)]