56 |
/// Wait for the GPU to request a new frame.
|
57 |
#[allow(clippy::useless_let_if_seq)] // Clippy doesn't understand
|
58 |
pub async fn new<P: pix::el::Pixel>(color: P) -> Frame
|
16 |
impl<'a> Meta<'a> {
|
17 |
#[allow(clippy::useless_let_if_seq)] // multiple variables are initialized
|
18 |
pub(crate) fn new(
|
130 |
#[allow(clippy::useless_let_if_seq)]
|
131 |
pub async fn fetch_dep_info(name: &str) -> Result<DepInfo, Box<dyn std::error::Error>> {
|
316 |
#[inline]
|
317 |
#[allow(clippy::useless_let_if_seq)]
|
318 |
pub fn classify_plane(normal: Vector3<f32>) -> PlaneClass {
|
105 |
#[allow(clippy::useless_let_if_seq)]
|
106 |
pub fn set_name_offset(&mut self, mut idx: usize) -> error::Result<()> {
|
457 |
// Given that hexagons are way more common than pentagons, worth it.
|
458 |
#[allow(clippy::useless_let_if_seq)]
|
459 |
pub fn children_count(self, resolution: Resolution) -> u64 {
|
129 |
#[allow(clippy::useless_let_if_seq)]
|
130 |
fn load_or_build(path: &Path) -> Result<HoardConfig, Error> {
|
145 |
/// [`complete_io`]: https://docs.rs/rustls/latest/rustls/trait.Session.html#method.complete_io
|
146 |
#[allow(clippy::useless_let_if_seq)]
|
147 |
fn poll_tls(&mut self, cx: &mut Context, poll_for_read: bool) -> Poll<io::Result<()>> {
|
1427 |
// SAFETY: `instruction` must be non-null, writable and aligned (`ptr::write()`) and not aliased
|
1428 |
#[allow(clippy::useless_let_if_seq)]
|
1429 |
unsafe fn decode_out_ptr(&mut self, instruction: *mut Instruction) {
|
817 |
#[allow(clippy::let_unit_value)]
|
818 |
#[allow(clippy::useless_let_if_seq)]
|
819 |
pub fn format(&mut self, instruction: &Instruction, output: &mut String) {
|
170 |
#[allow(clippy::useless_let_if_seq)]
|
171 |
impl ReadFrom for Broadcast {
|
194 |
#[allow(clippy::useless_let_if_seq)]
|
195 |
impl ReadFrom for Msg {
|
141 |
/// Get question
|
142 |
#[allow(clippy::useless_let_if_seq)]
|
143 |
pub async fn get_question(&self, rfid: i32) -> Result<Question, Error> {
|
698 |
impl Registry {
|
699 |
#[allow(clippy::useless_let_if_seq)]
|
700 |
pub fn new(config: &RegistryConfig, id: Option<&str>) -> Result<Registry> {
|
267 |
#[inline]
|
268 |
#[allow(clippy::useless_let_if_seq)]
|
269 |
pub fn classify_plane(normal: Vector3<f32>) -> PlaneClass {
|
199 |
#[allow(clippy::useless_let_if_seq)]
|
200 |
pub fn process(workspace: &mut Workspace, config: &Config, step_names: &[String]) -> Result<()> {
|
144 |
///
|
145 |
#[allow(clippy::useless_let_if_seq)]
|
146 |
pub fn is_valid_config(cfg: &dyn ServerConfig) -> bool {
|
86 |
#[allow(clippy::useless_let_if_seq)]
|
87 |
fn get_corresponding_type(
|
330 |
#[allow(clippy::useless_let_if_seq)]
|
331 |
fn build_event_inner(
|
100 |
#[allow(clippy::useless_let_if_seq)]
|
101 |
fn round_inverse_bitslice(i: usize, b_i_next: Block128, k: Subkeys, b_output: &mut Block128) {
|
153 |
/// shows submodule status information.
|
154 |
#[allow(clippy::too_many_lines, clippy::useless_let_if_seq)]
|
155 |
fn status_short(repo: &Repository, statuses: &git2::Statuses) -> String {
|
59 |
/// Goes from so3 parameterization to SO3 element (rotation).
|
60 |
#[allow(clippy::useless_let_if_seq)]
|
61 |
pub fn exp(w: Vec3) -> UnitQuaternion<Float> {
|
108 |
#[allow(clippy::useless_let_if_seq)]
|
109 |
pub fn set_name_offset(&mut self, mut idx: usize) -> error::Result<()> {
|
1195 |
impl std::fmt::Display for AccessClass {
|
1196 |
#[allow(clippy::useless_let_if_seq)]
|
1197 |
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
177 |
#[allow(clippy::useless_let_if_seq)]
|
178 |
fn get_scale_offset<const TO_FLOAT: bool>(
|
30 |
) {
|
31 |
#![allow(clippy::useless_let_if_seq)]
|
32 |
let style;
|
24 |
clippy::too_many_lines,
|
25 |
clippy::useless_let_if_seq
|
26 |
)]
|
175 |
#![allow(clippy::cognitive_complexity)]
|
176 |
#![allow(clippy::useless_let_if_seq)]
|
177 |
#![warn(missing_docs)]
|
1 |
#![allow(clippy::useless_let_if_seq)]
|
2 |
use std::{convert::TryFrom, str};
|
1 |
#![allow(clippy::needless_pass_by_value, clippy::useless_let_if_seq)]
|
31 |
redundant_field_names,
|
32 |
useless_let_if_seq,
|
33 |
len_without_is_empty))]
|
395 |
clippy::transmute_undefined_repr, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/8417
|
396 |
clippy::useless_let_if_seq,
|
397 |
clippy::wrong_self_convention
|
26 |
clippy::toplevel_ref_arg,
|
27 |
clippy::useless_let_if_seq,
|
28 |
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
|
1 |
#![allow(clippy::useless_let_if_seq)]
|
2 |
use std::borrow::Cow;
|
1 |
#![allow(clippy::useless_let_if_seq)]
|
2 |
use std::borrow::Cow;
|
81 |
#![allow(clippy::needless_range_loop)]
|
82 |
#![allow(clippy::useless_let_if_seq)]
|
83 |
#![allow(clippy::needless_bool)]
|
13 |
#![allow(clippy::unreadable_literal)]
|
14 |
#![allow(clippy::useless_let_if_seq)]
|
15 |
#![allow(clippy::wrong_self_convention)]
|
4 |
#![allow(clippy::new_ret_no_self)]
|
5 |
#![allow(clippy::useless_let_if_seq)]
|
4 |
#![allow(clippy::useless_let_if_seq)]
|
4 |
#![allow(clippy::never_loop)]
|
5 |
#![allow(clippy::useless_let_if_seq)]
|
4 |
#![allow(clippy::useless_let_if_seq)]
|
15 |
clippy::needless_range_loop,
|
16 |
clippy::useless_let_if_seq,
|
17 |
clippy::match_wild_err_arm,
|
15 |
clippy::needless_range_loop,
|
16 |
clippy::useless_let_if_seq,
|
17 |
clippy::match_wild_err_arm,
|
7 |
#![allow(clippy::match_overlapping_arm)]
|
8 |
#![allow(clippy::useless_let_if_seq)]
|
9 |
#![allow(clippy::cognitive_complexity)]
|
6 |
#![allow(clippy::unreadable_literal)]
|
7 |
#![allow(clippy::useless_let_if_seq)]
|