ward 2.1.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
[dependencies]

[package]
authors = ["Alexander Krivács Schrøder <alexschrod@gmail.com>"]
categories = ["rust-patterns"]
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"
edition = "2018"
keywords = ["swift", "guard"]
license = "MIT"
name = "ward"
readme = "README.md"
repository = "https://github.com/alexschrod/ward"
version = "2.1.0"