aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2018-11-19 22:17:08 +0100
committerGitHub <[email protected]>2018-11-19 22:17:08 +0100
commit30b6d6ad9ac047c34569b5b430ccd5859d75cf45 (patch)
tree7f5116845e458665bb5a4bbf836d1274547de314 /src/framework
parentRemove Rust release `1.25.0`. (diff)
downloadserenity-30b6d6ad9ac047c34569b5b430ccd5859d75cf45.tar.xz
serenity-30b6d6ad9ac047c34569b5b430ccd5859d75cf45.zip
Remove everything marked `deprecated` since `v0.5.x` or older (#441)
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/args.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/framework/standard/args.rs b/src/framework/standard/args.rs
index 6841bd7..7799163 100644
--- a/src/framework/standard/args.rs
+++ b/src/framework/standard/args.rs
@@ -969,24 +969,6 @@ impl Args {
pub fn restore(&mut self) {
self.offset = 0;
}
-
- /// Like [`len`], but accounts quotes.
- ///
- /// # Examples
- ///
- /// ```rust
- /// use serenity::framework::standard::Args;
- ///
- /// let mut args = Args::new(r#""42" "69""#, &[" ".to_string()]);
- ///
- /// assert_eq!(args.len_quoted(), 2); // `2` because `["42", "69"]`
- /// ```
- ///
- /// [`len`]: #method.len
- #[deprecated(since = "0.5.3", note = "Its task was merged with `len`, please use it instead.")]
- pub fn len_quoted(&mut self) -> usize {
- self.len()
- }
}
impl ::std::ops::Deref for Args {