carols10cents / carols10cents/rust-conversion-reference

Add more complex stuff

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
40
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The "Everything else" section is really more like primitives, sorta... I think there could be a new table with things like the problem in [this SO question](http://stackoverflow.com/questions/25627473/expected-vector-but-found-struct-collectionsvecvec):

```
error: mismatched types: expected `&[u8]` but found `&collections::vec::Vec` (expected vector but found struct collections::vec::Vec)
```

on

```
let contents = inflate_bytes(&compressed_contents);
```

where the solution is:

```
let contents = inflate_bytes(compressed_contents.as_slice());
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.