]> git.proxmox.com Git - rustc.git/blobdiff - vendor/rust-argon2/src/result.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / rust-argon2 / src / result.rs
diff --git a/vendor/rust-argon2/src/result.rs b/vendor/rust-argon2/src/result.rs
new file mode 100644 (file)
index 0000000..d921bfc
--- /dev/null
@@ -0,0 +1,13 @@
+// Copyright (c) 2017 Martijn Rijkeboer <mrr@sru-systems.com>
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+use std::result;
+use crate::error::Error;
+
+/// A specialized result type for Argon2 operations.
+pub type Result<T> = result::Result<T, Error>;