Sign in to confirm you’re not a bot This helps protect our community. Learn more
A useful tip for every (?) Rust code base
69Likes
1,019Views
2023Aug 17
Embedding tests are a neat feature of Rust's documentation system. But code examples in README files won't get picked up automatically. Learn how to use Rust's doc attribute to in conjunction with include_str! macro to change this. 📚 Resources: 🦀 Rust resources: 👋 Connect with Tim: 🔔 Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: https://www.youtube.com/timClicks?sub... 👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.

Follow along using the transcript.

timClicks

10.8K subscribers