104 |
#[allow(clippy::map_clone)]
|
105 |
fn should_rebuild(&mut self, world: &World) -> bool {
|
223 |
// Get chunk locations
|
224 |
#[allow(clippy::map_clone)]
|
225 |
let locations = self.objects.get(&path.to_string()).map(|x| x.clone());
|
264 |
#[allow(clippy::map_clone)]
|
265 |
let locations = self.objects.get(&path.to_string()).map(|x| x.clone());
|
10 |
#[allow(clippy::map_clone)] // MSRV: 1.36
|
11 |
pub(super) fn parse(bytes: &[u8]) -> Result<TimeZone, Error> {
|
25 |
println!("Currently defined functions:\n");
|
26 |
#[allow(clippy::map_clone)]
|
27 |
let mut utils: Vec<&str> = utils.keys().map(|&s| s).collect();
|
647 |
#[inline]
|
648 |
#[allow(clippy::map_clone)]
|
649 |
pub fn first_child(&self) -> Option<&SyntaxNode<L, D>> {
|
664 |
#[inline]
|
665 |
#[allow(clippy::map_clone)]
|
666 |
pub fn last_child(&self) -> Option<&SyntaxNode<L, D>> {
|
143 |
fn lookup_type(&self, name: &str) -> Option<&'a TypeDefinition> {
|
144 |
#[allow(clippy::map_clone)]
|
145 |
self.types.get(name).map(|d| *d)
|
83 |
// row_set.iter().copied(), as Clippy suggests
|
84 |
#[allow(clippy::map_clone)]
|
85 |
row_set.iter().map(|r| *r).collect()
|
51 |
type Error = ParseError;
|
52 |
#[allow(clippy::map_clone)]
|
53 |
fn try_from(result_fields: Vec<ResultField>) -> Result<Self, Self::Error> {
|
246 |
{
|
247 |
#[allow(clippy::map_clone)] // lifetime issue: seems to be a clippy bug
|
248 |
fn extend<I>(&mut self, iter: I)
|
57 |
impl From<trust_dns_resolver::proto::rr::rdata::TXT> for TXT {
|
58 |
#[allow(clippy::map_clone)]
|
59 |
fn from(txt: trust_dns_resolver::proto::rr::rdata::TXT) -> Self {
|
471 |
/// Allows converting the source trajectory into the (almost) equivalent trajectory in another frame
|
472 |
#[allow(clippy::map_clone)]
|
473 |
pub fn to_frame(&self, new_frame: Frame, cosm: Arc<Cosm>) -> Result<Self, NyxError> {
|
687 |
/// Allows converting the source trajectory into the (almost) equivalent trajectory in another frame
|
688 |
#[allow(clippy::map_clone)]
|
689 |
pub fn to_frame(&self, new_frame: Frame, cosm: Arc<Cosm>) -> Result<Self, NyxError> {
|
271 |
/// Known bug #190: Cannot generate a valid trajectory when propagating backward
|
272 |
#[allow(clippy::map_clone)]
|
273 |
pub fn for_duration_with_traj(
|
525 |
// .copied was significantly slower in benchmark, next call did not inline?
|
526 |
#[allow(clippy::map_clone)]
|
527 |
// we know the iterators len
|
86 |
#[allow(clippy::map_clone)]
|
87 |
fn should_rebuild(&mut self, world: &World) -> bool {
|
117 |
pub fn conic_weight(&self) -> Option<scalar> {
|
118 |
#[allow(clippy::map_clone)]
|
119 |
self.native()
|
1039 |
test(size, sl.iter().copied());
|
1040 |
#[allow(clippy::map_clone)]
|
1041 |
test(size, sl.iter_mut().map(|&mut i| i));
|
1062 |
test(size, sl.iter().rev().copied());
|
1063 |
#[allow(clippy::map_clone)]
|
1064 |
test(size, sl.iter_mut().rev().map(|&mut i| i));
|
1090 |
test(size, sl.iter().copied());
|
1091 |
#[allow(clippy::map_clone)]
|
1092 |
test(size, sl.iter_mut().map(|&mut i| i));
|
293 |
/// `recv()`.
|
294 |
#[allow(clippy::map_clone)] // false positive: https://github.com/rust-lang/rust-clippy/issues/3274
|
295 |
pub async fn recv(&mut self) -> Option<T> {
|
304 |
#[allow(clippy::map_clone)] // false positive: https://github.com/rust-lang/rust-clippy/issues/3274
|
305 |
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<T>> {
|
202 |
// Note URI miscellaneous queries
|
203 |
#[allow(clippy::map_clone)]
|
204 |
let misc_values = vec![
|
93 |
// Helps us lower the MSRV.
|
94 |
#[allow(clippy::map_clone)]
|
95 |
keysyms.get(column as usize).map(|&keysym| keysym)
|
35 |
#![allow(clippy::map_clone, clippy::large_enum_variant)]
|
36 |
#![warn(clippy::unwrap_used, clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
35 |
#![allow(clippy::map_clone, clippy::large_enum_variant)]
|
36 |
#![warn(clippy::unwrap_used, clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
4 |
// `.copied()` was unstable in 1.34
|
5 |
#![allow(clippy::map_clone)]
|
6 |
#![deny(
|
1 |
#![allow(clippy::map_clone)]
|
65 |
#![allow(clippy::should_implement_trait)]
|
66 |
#![allow(clippy::map_clone)] // Because of the MSRV (setting MSRV in clippy.toml doesn't help)
|
42 |
// copied() only stabilized later on
|
43 |
#![allow(clippy::map_clone)]
|
603 |
fn fetch_by_id() {
|
604 |
#![allow(clippy::map_clone)] // False positive
|
55 |
#![allow(clippy::map_clone)]
|
56 |
// N.B. not sure if this rule will break compatibility with older rust versions we might want to support
|
64 |
clippy::partialeq_ne_impl,
|
65 |
clippy::map_clone
|
66 |
)]
|
36 |
clippy::single_char_pattern,
|
37 |
clippy::map_clone,
|
38 |
clippy::needless_return,
|