An open API service indexing awesome lists of open source software.

https://github.com/lily-mara/refactoring-to-rust

Code to accompany Refactoring to Rust
https://github.com/lily-mara/refactoring-to-rust

book learning refactoring rust

Last synced: 5 months ago
JSON representation

Code to accompany Refactoring to Rust

Awesome Lists containing this project

README

          

# Code from for Refactoring to Rust

[Get the book Here!][buy_book]

This repository contains all of the code listings from the new book,
_Refactoring to Rust_. Listings are organized by chapter number and listing
number in the text. Larger examples, which may not be expressible in a single
listing, are given their own directories.

## Running the code

Most of the examples are written in Rust or Python 3. The latest Rust
compiler can be installed by following the instructions at https://rustup.rs/

The simpler Rust examples can be tried in a web browser without installing
any software, by visiting https://play.rust-lang.org/

**IMPORTANT**: Some sections of the book illustrate compiler errors that
developers new to Rust can commonly make. Listings which have NO_COMPILE in
the directory names are expected to fail to compile.

[buy_book]: https://www.manning.com/books/refactoring-to-rust?utm_source=mara&utm_medium=affiliate&utm_campaign=book_mara_refactoring_1_6_21&a_aid=mara&a_bid=eedce54d