thinkgos / lifetimekata

An exploration of lifetimes in Rust.-中文版,位于分支kata-cn

Home Page:https://thinkgos.github.io/lifetimekata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LifetimeKata

Welcome to LifetimeKata, a set of exercises which you can use to improve your understanding of lifetimes in Rust. While many tasks involve writing compiling code, some will also involve creating specific errors.

You should complete the kata in order, as they increase in difficulty, and depend on previous kata.

Getting Started

Clone this repository:

$ git clone https://www.github.com/tfpk/lifetimekata/

Most exercises are run in two steps:

$ cargo build --package ex04

And then either:

$ cargo test --package ex04

or:

$ cargo run --package ex04

depending on whether it's a binary or a library.

About

An exploration of lifetimes in Rust.-中文版,位于分支kata-cn

https://thinkgos.github.io/lifetimekata

License:Apache License 2.0


Languages

Language:Rust 100.0%