aboutsummaryrefslogtreecommitdiff
path: root/src/model/guild/role.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-11 22:13:57 +0200
committeracdenisSK <[email protected]>2017-07-11 22:13:57 +0200
commitebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6 (patch)
tree1eeee881705d8721cdb4238461e5422043a63ca1 /src/model/guild/role.rs
parentAdd a way to add multiple fields at once (diff)
downloadserenity-ebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6.tar.xz
serenity-ebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6.zip
Remove the deprecated functions
It's already been enough time for people to migrate
Diffstat (limited to 'src/model/guild/role.rs')
-rw-r--r--src/model/guild/role.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/model/guild/role.rs b/src/model/guild/role.rs
index 8383675..bed641b 100644
--- a/src/model/guild/role.rs
+++ b/src/model/guild/role.rs
@@ -101,15 +101,6 @@ impl Role {
}
}
- /// Alias of [`edit`]
- ///
- /// [`edit`]: struct.Role.html#method.edit
- #[deprecated(since="0.2.1", note="Please use `edit` instead.")]
- #[cfg(all(feature="builder", feature="cache"))]
- pub fn edit_role<F: FnOnce(EditRole) -> EditRole>(&self, f: F) -> Result<Role> {
- self.edit(f)
- }
-
/// Searches the cache for the guild that owns the role.
///
/// # Errors