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/lib.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/lib.rs')
| -rw-r--r-- | src/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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)] |