diff options
author | Daniel Mueller <deso@posteo.net> | 2018-12-10 22:20:37 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2018-12-10 22:20:37 -0800 |
commit | 1498caf2f050b0a509689ab6e65a0daac062c76e (patch) | |
tree | 75fe6f5c3c72583ca0b37984dfb43b95eee15ce3 /rand/src/os.rs | |
parent | 54af5b5489a3a86e864a11836cff48af15da1f98 (diff) | |
download | nitrocli-1498caf2f050b0a509689ab6e65a0daac062c76e.tar.gz nitrocli-1498caf2f050b0a509689ab6e65a0daac062c76e.tar.bz2 |
Make hidden lifetime parameters explicit
With a recent Rust version upgrade hidden lifetime parameters cause a
warning of the form:
> warning: hidden lifetime parameters in types are deprecated
> --> src/error.rs:58:25
> |
> 58 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
> | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
This change adjusts the code to make those lifetimes explicit (while
keeping them anonymous).
Diffstat (limited to 'rand/src/os.rs')
0 files changed, 0 insertions, 0 deletions