mirror of
https://github.com/Zenithsiz/zsw.git
synced 2026-02-03 17:52:15 +00:00
Updated to rustc 1.67.0-nightly (215e3cd21 2022-11-03).
This commit is contained in:
parent
873187de65
commit
982e214f59
@ -1,7 +1,7 @@
|
||||
//! Egui
|
||||
|
||||
// Features
|
||||
#![feature(never_type, let_chains)]
|
||||
#![feature(never_type)]
|
||||
|
||||
// Imports
|
||||
use {
|
||||
|
||||
@ -13,7 +13,7 @@ pub fn load_image(path: &Path) -> Result<DynamicImage, anyhow::Error> {
|
||||
let path = path.canonicalize().context("Unable to canonicalize path")?;
|
||||
|
||||
// Open the image
|
||||
let image_file = fs::File::open(&path).context("Unable to open image file")?;
|
||||
let image_file = fs::File::open(path).context("Unable to open image file")?;
|
||||
let mut image_file = BufReader::new(image_file);
|
||||
|
||||
// Then guess it's format
|
||||
|
||||
@ -1,15 +1,7 @@
|
||||
//! Utility
|
||||
|
||||
// Features
|
||||
#![feature(
|
||||
decl_macro,
|
||||
generator_trait,
|
||||
generators,
|
||||
mixed_integer_ops,
|
||||
never_type,
|
||||
generic_associated_types,
|
||||
type_alias_impl_trait
|
||||
)]
|
||||
#![feature(decl_macro, generator_trait, generators, never_type, type_alias_impl_trait)]
|
||||
|
||||
// Modules
|
||||
mod condvar_future;
|
||||
|
||||
@ -8,14 +8,11 @@
|
||||
inline_const,
|
||||
stmt_expr_attributes,
|
||||
try_trait_v2,
|
||||
backtrace,
|
||||
thread_id_value,
|
||||
unwrap_infallible,
|
||||
async_closure,
|
||||
result_into_ok_or_err,
|
||||
generators,
|
||||
generator_trait,
|
||||
mixed_integer_ops,
|
||||
associated_type_bounds
|
||||
)]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user