• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

oconnor663 / duct.rs / 68
0%

Build:
DEFAULT BRANCH: master
Ran 04 Oct 2016 04:14AM UTC
Jobs 3
Files 1
Run time 38s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
68

push

travis-ci

oconnor663
use Into instead of AsRef

The impls for From/Into with respect to the different string types are
actually really extensive. They cover the cases we were using AsRef for,
and they avoid making an unnecessary copy when the argument is already
owned.

One downside is that there aren't impls for &Vec (as opposed to &[T]),
so callers will need to use &* in some cases where & would previously
have worked. I'm not sure a (tiny) performance improvement by itself
would be worth the (small) drop in ergonomics, but using a more
idiomatic trait is definitely worth it.

373 of 388 relevant lines covered (96.13%)

6.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 68.1 04 Oct 2016 04:14AM UTC 0
96.99
Travis Job 68.1
2 68.2 04 Oct 2016 04:14AM UTC 0
97.05
Travis Job 68.2
3 68.3 04 Oct 2016 04:15AM UTC 0
97.05
Travis Job 68.3
Source Files on build 68
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #68
  • 4a856cd9 on github
  • Prev Build on master (#67)
  • Next Build on master (#69)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc