aboutsummaryrefslogtreecommitdiff
path: root/src/utils/builder/search.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2017-01-24 12:07:41 -0800
committerAustin Hellyer <[email protected]>2017-01-24 12:07:41 -0800
commit94131908f00a8cbb714f3a93066e2a83dfc1c5b3 (patch)
tree86cb349c3093ab9722ae47a649deebe8da9d6c13 /src/utils/builder/search.rs
parentProperly drop on binds (diff)
downloadserenity-94131908f00a8cbb714f3a93066e2a83dfc1c5b3.tar.xz
serenity-94131908f00a8cbb714f3a93066e2a83dfc1c5b3.zip
Fix docs links
Diffstat (limited to 'src/utils/builder/search.rs')
-rw-r--r--src/utils/builder/search.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/builder/search.rs b/src/utils/builder/search.rs
index c0a7499..f6256d8 100644
--- a/src/utils/builder/search.rs
+++ b/src/utils/builder/search.rs
@@ -240,6 +240,8 @@ impl<'a> Search<'a> {
///
/// The default value is `2`. The minimum value is `0`. The maximum value is
/// `2`.
+ ///
+ /// [`Message`]: ../../model/struct.Message.html
pub fn context_size(mut self, context_size: u8) -> Self {
self.0.insert("context_size", context_size.to_string());
@@ -327,7 +329,7 @@ impl<'a> Search<'a> {
/// The minimum value is `0`. The maximum value is `5000`.
///
/// [`Message`]: ../../model/struct.Message.html
- /// [`limit`]: fn.limit.html
+ /// [`limit`]: #method.limit
pub fn offset(mut self, offset: u16) -> Self {
self.0.insert("offset", offset.to_string());