diff options
| author | acdenisSK <[email protected]> | 2017-10-05 14:15:15 +0200 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-10-09 15:48:18 -0700 |
| commit | 989acaac4a28adf7dbc82ac6d58cbd18b2767ef9 (patch) | |
| tree | 52b1138643b36510614ed13f134a30f82268ebc2 /src | |
| parent | Use an as_ref hack (diff) | |
| download | serenity-989acaac4a28adf7dbc82ac6d58cbd18b2767ef9.tar.xz serenity-989acaac4a28adf7dbc82ac6d58cbd18b2767ef9.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 |