]> git.proxmox.com Git - rustc.git/blame - vendor/rust-argon2/src/result.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / rust-argon2 / src / result.rs
CommitLineData
f20569fa
XL
1// Copyright (c) 2017 Martijn Rijkeboer <mrr@sru-systems.com>
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9use std::result;
10use crate::error::Error;
11
12/// A specialized result type for Argon2 operations.
13pub type Result<T> = result::Result<T, Error>;