aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/args.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-09-18 17:48:52 -0700
committerZeyla Hellyer <[email protected]>2017-09-18 17:48:52 -0700
commitdae2cb77b407044f44a7a2790d93efba3891854e (patch)
treebef263c4490536cf8b56e988e71dd1aa43bc2696 /src/framework/standard/args.rs
parentFix compiles of a variety of feature combinations (diff)
downloadserenity-dae2cb77b407044f44a7a2790d93efba3891854e.tar.xz
serenity-dae2cb77b407044f44a7a2790d93efba3891854e.zip
Apply rustfmt
Diffstat (limited to 'src/framework/standard/args.rs')
-rw-r--r--src/framework/standard/args.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/framework/standard/args.rs b/src/framework/standard/args.rs
index b88f345..d22b1a8 100644
--- a/src/framework/standard/args.rs
+++ b/src/framework/standard/args.rs
@@ -144,9 +144,10 @@ impl Args {
return Err(Error::Eos);
}
- match self.delimiter_split.iter().position(
- |e| e.parse::<T>().is_ok(),
- ) {
+ match self.delimiter_split
+ .iter()
+ .position(|e| e.parse::<T>().is_ok())
+ {
Some(index) => {
let value = self.delimiter_split
.get(index)