ward 2.0.0

Provides a ward! macro which returns the contents of an Option<T> and otherwise returns early, and a guard! macro, which does the same, but with a syntax more similar to Swift's guard syntax
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
[package]

name = "ward"

version = "2.0.0"

authors = ["Alexander Krivács Schrøder <alexschrod@gmail.com>"]

edition = "2018"

license = "MIT"

description = "Provides a ward! macro which returns the contents of an Option<T> and otherwise returns early, and a guard! macro, which does the same, but with a syntax more similar to Swift's guard syntax"

repository = "https://github.com/alexschrod/ward"

readme = "README.md"

keywords = ["swift", "guard"]

categories = ["rust-patterns"]



[dependencies]