Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By using `impl AsRef<[u8]>` instead of raw `&[u8]` encode may be used with Strings and string slices directly. This is also important for foreign types as they can implement `AsRef<[u8]>` and be directly usable by `encode`. Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
- Loading branch information