Skip to content

Commit

Permalink
Merge pull request #2153 from hannobraun/rust
Browse files Browse the repository at this point in the history
Upgrade to Rust 1.75.0
  • Loading branch information
hannobraun authored Jan 3, 2024
2 parents 6f8163e + c019fec commit 3762799
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/fj-viewer/src/graphics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mod vertices;
pub use self::{
device::DeviceError,
draw_config::DrawConfig,
renderer::{DrawError, Renderer, RendererInitError},
renderer::{Renderer, RendererInitError},
};

pub const DEPTH_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Depth32Float;
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ test:
# probably be considered a bug in this file.
ci: test
cargo fmt --check
cargo clippy --all-features -- -D warnings
cargo clippy --workspace --all-features -- -D warnings
cargo doc --no-deps --document-private-items --all-features --workspace
cargo run --package cross-compiler
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.74.1"
channel = "1.75.0"
components = ["rustfmt", "clippy"]
targets = [
"aarch64-apple-ios",
Expand Down
2 changes: 1 addition & 1 deletion tools/release-operator/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl Crate {
serde_json::from_str::<CrateVersions>(resp.text()?.as_str())
.context("deserializing crates.io response")?;

Ok(versions.versions.get(0).unwrap().version.to_owned())
Ok(versions.versions.first().unwrap().version.to_owned())
}

fn determine_state(&self) -> anyhow::Result<CrateState> {
Expand Down

0 comments on commit 3762799

Please sign in to comment.