Skip to content

Commit dc4643c

Browse files
committed
chore: clippy fixes
1 parent 910d488 commit dc4643c

6 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ jobs:
5050
args: -p unreal_helpers --all-features
5151

5252
- uses: actions-rs/clippy-check@v1
53-
name: Clippy check ue 4.23 w/bulk
53+
name: Clippy check ue 4.27 w/bulk
5454
env:
5555
USE_PREBUILT_ASSETS: 1
5656
USE_PRECOMPILED_CPP_LOADER: 1
5757
with:
5858
token: ${{ secrets.GITHUB_TOKEN }}
59-
args: --features "ue4_23" -- -D warnings
59+
args: --features "ue4_27" -- -D warnings
6060

6161
- uses: actions-rs/clippy-check@v1
62-
name: Clippy check ue 4.23 w/bulk w/cpp_loader
62+
name: Clippy check ue 4.27 w/bulk w/cpp_loader
6363
env:
6464
USE_PREBUILT_ASSETS: 1
6565
USE_PRECOMPILED_CPP_LOADER: 1
6666
with:
6767
token: ${{ secrets.GITHUB_TOKEN }}
68-
args: --features "ue4_23,cpp_loader" -- -D warnings
68+
args: --features "ue4_27,cpp_loader" -- -D warnings

unreal_asset/unreal_asset_base/src/unversioned/header.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::manual_div_ceil)]
12
//! Unversioned .usmap header
23
34
use bitvec::prelude::*;

unreal_asset/unreal_asset_registry/src/objects/depends_node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::manual_div_ceil)]
12
//! Asset bundle depends node
23
34
use bitvec::{order::Lsb0, prelude::BitVec};

unreal_helpers/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![deny(missing_docs)]
2+
#![allow(clippy::doc_overindented_list_items)]
23

34
//! Various small functions to make working with Unreal data formats easier.
45
//!

unreal_mod_integrator/src/handlers/ue4_23/persistent_actors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::io_other_error)]
2+
13
use std::collections::HashMap;
24
use std::fs::File;
35
use std::io::{self, BufReader, Cursor, ErrorKind};

unreal_mod_integrator/src/handlers/ue4_27/persistent_actors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::io_other_error)]
2+
13
use std::collections::HashMap;
24
use std::fs::File;
35
use std::io::{self, BufReader, Cursor, ErrorKind};

0 commit comments

Comments
 (0)