diff options
| author | acdenisSK <[email protected]> | 2017-10-05 14:15:15 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-10-05 14:15:15 +0200 |
| commit | 540e4965c3230002206d7dd99fccbfd7a2ed9257 (patch) | |
| tree | 82e73671469ffcc14d5307673f62405639d67622 /src | |
| parent | Use an as_ref hack (diff) | |
| download | serenity-540e4965c3230002206d7dd99fccbfd7a2ed9257.tar.xz serenity-540e4965c3230002206d7dd99fccbfd7a2ed9257.zip | |
Add an and
Diffstat (limited to 'src')
| -rw-r--r-- | src/model/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index 5eae177..bf3ac07 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -61,7 +61,7 @@ macro_rules! id_u64 { } } - // This is a hack so that functions can accept `IntoIterator<Item=IdType>`, or `IntoIterator<Item=&IdType>` + // This is a hack so that functions can accept `IntoIterator<Item=IdType>`, and or `IntoIterator<Item=&IdType>` impl AsRef<$name> for $name { fn as_ref(&self) -> &Self { self |