1294 |
#[allow(clippy::new_without_default)]
|
1295 |
impl CheckingGlobals {
|
57 |
{
|
58 |
#[allow(clippy::new_without_default)]
|
59 |
pub fn new() -> Self {
|
24 |
/// no matching cleanup step.
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
87 |
/// Creates an empty polynomial, _θ_.
|
88 |
#[allow(clippy::new_without_default)]
|
89 |
pub fn new() -> Self {
|
94 |
/// [`Face`].
|
95 |
#[allow(clippy::new_without_default)]
|
96 |
pub fn new_docked(dock: Face) -> Self {
|
45 |
/// Get new message from the pool of objects
|
46 |
#[allow(clippy::new_without_default)]
|
47 |
pub fn new() -> Self {
|
60 |
/// Create new Request instance
|
61 |
#[allow(clippy::new_without_default)]
|
62 |
pub fn new() -> Request<BoxedPayloadStream> {
|
98 |
#[cfg(not(all(target_os = "linux", feature = "io-uring")))]
|
99 |
#[allow(clippy::new_without_default)]
|
100 |
pub fn new() -> Arbiter {
|
165 |
#[cfg(all(target_os = "linux", feature = "io-uring"))]
|
166 |
#[allow(clippy::new_without_default)]
|
167 |
pub fn new() -> Arbiter {
|
36 |
/// Create application builder. Application can be configured with a builder-like pattern.
|
37 |
#[allow(clippy::new_without_default)]
|
38 |
pub fn new() -> Self {
|
29 |
/// Create new route which matches any request.
|
30 |
#[allow(clippy::new_without_default)]
|
31 |
pub fn new() -> Route {
|
30 |
#[wasm_bindgen(constructor)]
|
31 |
#[allow(clippy::new_without_default)]
|
32 |
pub fn new() -> Self {
|
639 |
impl BlockChange {
|
640 |
#[allow(clippy::new_without_default)]
|
641 |
pub fn new() -> BlockChange {
|
25 |
{
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Self {
|
69 |
/// Consider using [`Session`](crate::apps::Session) instead of directly calling this.
|
70 |
#[allow(clippy::new_without_default)] // I expect it'll grow some parameters
|
71 |
pub fn new() -> Self {
|
17 |
/// Create a new Multilogger without any loggers
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> Self {
|
71 |
// Returning a different value every time does not sound like good `impl Default`
|
72 |
#[allow(clippy::new_without_default)]
|
73 |
pub fn new() -> Self {
|
65 |
impl AptCache {
|
66 |
#[allow(clippy::new_without_default)]
|
67 |
pub fn new() -> Self {
|
33 |
impl AptGet {
|
34 |
#[allow(clippy::new_without_default)]
|
35 |
pub fn new() -> Self {
|
12 |
impl AptMark {
|
13 |
#[allow(clippy::new_without_default)]
|
14 |
pub fn new() -> Self {
|
17 |
impl Dpkg {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> Self {
|
41 |
impl DpkgQuery {
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
pub fn new() -> Self {
|
212 |
impl AptosDataBuilder {
|
213 |
#[allow(clippy::new_without_default)]
|
214 |
pub fn new() -> Self {
|
225 |
impl AptosDataBuilder {
|
226 |
#[allow(clippy::new_without_default)]
|
227 |
pub fn new() -> Self {
|
48 |
impl AptosVMImpl {
|
49 |
#[allow(clippy::new_without_default)]
|
50 |
pub fn new<S: StateView>(state: &S) -> Self {
|
313 |
impl TestDb {
|
314 |
#[allow(clippy::new_without_default)]
|
315 |
pub fn new() -> TestDb {
|
23 |
/// through [`ArgSplitter::item`], [`ArgSplitter::item_os`] and [`ArgSplitter::flag`].
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
pub fn from_env() -> Self {
|
106 |
/// The returned `SelectAll` does not contain any futures.
|
107 |
#[allow(clippy::new_without_default)]
|
108 |
#[inline]
|
19 |
impl NoAuthentication {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
pub fn new() -> Self {
|
17 |
impl NoAuthentication {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> Self {
|
17 |
impl NoAuthentication {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> Self {
|
93 |
#[allow(clippy::new_without_default)]
|
94 |
impl WaitGroup {
|
92 |
/// Create a new builder with the default values.
|
93 |
#[allow(clippy::new_without_default)]
|
94 |
pub fn new() -> Self {
|
373 |
{
|
374 |
#[allow(clippy::new_without_default)]
|
375 |
pub fn new() -> Self {
|
586 |
{
|
587 |
#[allow(clippy::new_without_default)]
|
588 |
pub fn new() -> Self {
|
392 |
{
|
393 |
#[allow(clippy::new_without_default)]
|
394 |
pub fn new() -> Self {
|
625 |
{
|
626 |
#[allow(clippy::new_without_default)]
|
627 |
pub fn new() -> Self {
|
22 |
impl Timer {
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
/// Constructs a new timer.
|
35 |
impl State {
|
36 |
#[allow(clippy::new_without_default)]
|
37 |
#[must_use]
|
237 |
/// - no cache dir, server rejects large request bodies
|
238 |
#[allow(clippy::new_without_default)]
|
239 |
#[must_use]
|
10 |
#[must_use]
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
pub fn new() -> Self {
|
14 |
impl<K, V> MultiIter<K, V> {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new() -> Self {
|
89 |
{
|
90 |
#[allow(clippy::new_without_default)]
|
91 |
pub fn new() -> Self {
|
21 |
impl NodeId {
|
22 |
#[allow(clippy::new_without_default)]
|
23 |
pub fn new() -> Self {
|
19 |
impl ShaderId {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
pub fn new() -> Self {
|
117 |
impl TiledCameraBundle {
|
118 |
#[allow(clippy::new_without_default)]
|
119 |
pub fn new() -> Self {
|
94 |
impl<T> NavMarkerPropagationPlugin<T> {
|
95 |
#[allow(clippy::new_without_default)]
|
96 |
/// Create a new [`NavMarkerPropagationPlugin`].
|
78 |
/// Construct a new builder with default requester client.
|
79 |
#[allow(clippy::new_without_default)]
|
80 |
#[must_use]
|
128 |
/// Create a new `PayloadBuilder`.
|
129 |
#[allow(clippy::new_without_default)]
|
130 |
pub fn new() -> Self {
|
12 |
/// `Client::from_env` requires that.
|
13 |
#[allow(clippy::new_without_default)]
|
14 |
pub fn new() -> Self {
|
27 |
impl App {
|
28 |
#[allow(clippy::new_without_default)]
|
29 |
pub fn new() -> Self {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
impl App {
|
61 |
#[allow(clippy::new_without_default_derive)]
|
62 |
impl DeltaCoder {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
impl Softmax {
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
impl EpsilonGreedy {
|
53 |
#[allow(clippy::new_without_default)]
|
54 |
impl EpsilonGreedy {
|
23 |
/// creates an empty borrow graph
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
pub fn new() -> Self {
|
41 |
#[wasm_bindgen(constructor)]
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
pub fn new() -> Channel {
|
1730 |
#[allow(clippy::unreadable_literal)]
|
1731 |
#[allow(clippy::new_without_default)]
|
1732 |
impl FastNoise {
|
44 |
/// Creates a new RNG from a randomly generated seed
|
45 |
#[allow(clippy::new_without_default)] // XorShiftRng doesn't have a Default, so we don't either
|
46 |
pub fn new() -> RandomNumberGenerator {
|
154 |
/// Construct a new [`Serializer`].
|
155 |
#[allow(clippy::new_without_default)]
|
156 |
pub fn new() -> Serializer {
|
156 |
/// Construct a new `Serializer`.
|
157 |
#[allow(clippy::new_without_default)]
|
158 |
pub fn new() -> Serializer {
|
49 |
impl ShapeCollection {
|
50 |
#[allow(clippy::new_without_default)]
|
51 |
pub fn new() -> Self {
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
impl EOF<()> {
|
42 |
/// Creates an empty `UnboundCache`
|
43 |
#[allow(clippy::new_without_default)]
|
44 |
#[must_use]
|
27 |
/// This corresponds to [`std::fs::DirBuilder::new`].
|
28 |
#[allow(clippy::new_without_default)]
|
29 |
#[inline]
|
16 |
/// Creates a blank new set of options ready for configuration.
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
#[inline]
|
38 |
/// This corresponds to [`std::fs::OpenOptions::new`].
|
39 |
#[allow(clippy::new_without_default)]
|
40 |
#[inline]
|
38 |
impl App {
|
39 |
#[allow(clippy::new_without_default)]
|
40 |
pub fn new(
|
11 |
)]
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
mod allocator;
|
11 |
)]
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
mod allocator;
|
25 |
/// Create a new [`Client`].
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
#[must_use]
|
25 |
impl Builder {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Builder {
|
242 |
/// Initialize the Cedar for further use.
|
243 |
#[allow(clippy::new_without_default)]
|
244 |
pub fn new() -> Self {
|
35 |
#[allow(clippy::new_without_default)]
|
36 |
impl LocalSchedulerBackend {
|
248 |
/// another [`CellOwner<F>`] already exists in this thread.
|
249 |
#[allow(clippy::new_without_default)]
|
250 |
pub fn new() -> Self {
|
54 |
/// Create a new empty root
|
55 |
#[allow(clippy::new_without_default)]
|
56 |
pub fn new() -> Self {
|
48 |
#[allow(clippy::new_without_default)]
|
49 |
impl<'i> Scope<'i> {
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
impl Notifier {
|
2190 |
#[doc(hidden)]
|
2191 |
#[allow(clippy::new_without_default)]
|
2192 |
pub fn new() -> Self {
|
2190 |
#[doc(hidden)]
|
2191 |
#[allow(clippy::new_without_default)]
|
2192 |
pub fn new() -> Self {
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
impl<T> ExponentialCone<T>
|
32 |
impl Mock {
|
33 |
#[allow(clippy::new_without_default)]
|
34 |
pub fn new() -> Self {
|
85 |
impl CustomGradient {
|
86 |
#[allow(clippy::new_without_default)]
|
87 |
pub fn new() -> Self {
|
263 |
impl CheckOrder {
|
264 |
#[allow(clippy::new_without_default)]
|
265 |
pub fn new() -> CheckOrder {
|
285 |
impl DebugCheckOrder {
|
286 |
#[allow(clippy::new_without_default)]
|
287 |
pub fn new() -> DebugCheckOrder {
|
301 |
impl DebugCheckOrder {
|
302 |
#[allow(clippy::new_without_default)]
|
303 |
pub fn new() -> DebugCheckOrder {
|
636 |
/// ```
|
637 |
#[allow(clippy::new_without_default)]
|
638 |
pub fn new() -> Self {
|
47 |
impl SimpleCredentialSource {
|
48 |
#[allow(clippy::new_without_default)]
|
49 |
pub fn new() -> Self {
|
15 |
impl<T> InlineFragmentVisitor<T> {
|
16 |
#[allow(clippy::new_without_default)]
|
17 |
pub fn new() -> Self {
|
283 |
impl Daemonize<()> {
|
284 |
#[allow(clippy::new_without_default)]
|
285 |
pub fn new() -> Self {
|
13 |
impl<'a> Generator<'a> {
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
pub fn new() -> Generator<'a> {
|
256 |
impl StarWars {
|
257 |
#[allow(clippy::new_without_default)]
|
258 |
pub fn new() -> Self {
|
141 |
#[allow(clippy::new_without_default)]
|
142 |
impl<'a> DoubleArrayTrieBuilder<'a> {
|
26 |
/// Create a new Dunamu source provider
|
27 |
#[allow(clippy::new_without_default)]
|
28 |
pub fn new(config: &HttpsConfig) -> Result<Self, Error> {
|
21 |
/// Create a new GOPAX source provider
|
22 |
#[allow(clippy::new_without_default)]
|
23 |
pub fn new(config: &HttpsConfig) -> Result<Self, Error> {
|
24 |
/// Create new images request.
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
20 |
/// Create new lists request.
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
pub fn new() -> Self {
|
394 |
impl Context {
|
395 |
#[allow(clippy::new_without_default)]
|
396 |
pub fn new() -> Context {
|
135 |
clippy::len_without_is_empty,
|
136 |
clippy::new_without_default,
|
137 |
unreachable_pub
|
61 |
#[allow(clippy::new_without_default)]
|
62 |
impl<DB: Backend + TypeMetadata> RawBytesBindCollector<DB> {
|
44 |
/// Constructs a new `PING` packet.
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
pub fn new() -> Self {
|
446 |
/// Constructs a new `FIN` packet.
|
447 |
#[allow(clippy::new_without_default)]
|
448 |
pub fn new() -> Self {
|
254 |
#[allow(clippy::new_without_default)]
|
255 |
impl<Sv, T> Fiber<Sv, T>
|
249 |
#[allow(clippy::new_without_default)]
|
250 |
impl<Sv, T> Fiber<Sv, T>
|
21 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
22 |
impl FatTime {
|
30 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
31 |
impl<T> FdTable<T> {
|
21 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
22 |
impl<Sv, I, Y, R> Yielder<Sv, I, Y, R>
|
44 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default))]
|
45 |
impl<Sv, A> FiberStack<Sv, A>
|
24 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
25 |
impl<T: ThrTag, U: Thread> Reset<T, &'static U> {
|
96 |
/// Generate a new random code string.
|
97 |
#[allow(clippy::new_without_default)]
|
98 |
pub fn new() -> Self {
|
78 |
/// Creates a new generator for adding portals to a map.
|
79 |
#[allow(clippy::new_without_default)]
|
80 |
#[must_use]
|
83 |
impl Drawing {
|
84 |
#[allow(clippy::new_without_default)] // default state of struct isn't valid
|
85 |
pub fn new() -> Self {
|
16 |
impl TestConfig {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
pub fn new() -> Self {
|
23 |
impl ActorGroup<(), ()> {
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
pub fn new() -> Self {
|
66 |
impl BlockchainStateWrapper {
|
67 |
#[allow(clippy::new_without_default)]
|
68 |
pub fn new() -> Self {
|
406 |
/// Creates a new IDT filled with non-present entries.
|
407 |
#[allow(clippy::new_without_default)]
|
408 |
pub fn new() -> InterruptDescriptorTable {
|
2301 |
#[allow(clippy::new_without_default)]
|
2302 |
impl RecordReader {
|
2056 |
impl OpenOptions {
|
2057 |
#[allow(clippy::new_without_default)]
|
2058 |
/// Create [`OpenOptions`] with default configuration:
|
231 |
impl OpenOptions {
|
232 |
#[allow(clippy::new_without_default)]
|
233 |
/// Creates a blank new set of options ready for configuration.
|
73 |
impl OpenOptions {
|
74 |
#[allow(clippy::new_without_default)]
|
75 |
/// Creates a default new set of options ready for configuration.
|
26 |
impl Build {
|
27 |
#[allow(clippy::new_without_default)]
|
28 |
pub fn new() -> Build {
|
312 |
/// [`StdLib`]: crate::StdLib
|
313 |
#[allow(clippy::new_without_default)]
|
314 |
pub fn new() -> Lua {
|
107 |
/// Acquire a new, empty body handle.
|
108 |
#[allow(clippy::new_without_default)]
|
109 |
pub fn new() -> Self {
|
37 |
/// Get a new, empty HTTP body.
|
38 |
#[allow(clippy::new_without_default)]
|
39 |
pub fn new() -> Self {
|
124 |
/// By default, the request will have a `GET` method, a URL of `/`, and empty headers.
|
125 |
#[allow(clippy::new_without_default)]
|
126 |
pub fn new() -> Self {
|
94 |
/// By default, the response will have a status code of `200 OK` and empty headers.
|
95 |
#[allow(clippy::new_without_default)]
|
96 |
pub fn new() -> Self {
|
231 |
/// Creates a new instance of the builder
|
232 |
#[allow(clippy::new_without_default)]
|
233 |
pub fn new() -> Self {
|
135 |
/// Return a [AssertRequest]
|
136 |
#[allow(clippy::new_without_default)]
|
137 |
pub fn new() -> AssertRequest {
|
154 |
/// Return a [AssertVerifier] for verify.
|
155 |
#[allow(clippy::new_without_default)]
|
156 |
pub fn new() -> AssertVerifier {
|
20 |
/// Create a new credential
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
pub fn new() -> Self {
|
36 |
impl<T: Flat + ?Sized> SingleType<T> {
|
37 |
#[allow(clippy::new_without_default)]
|
38 |
pub fn new() -> Self {
|
97 |
{
|
98 |
#[allow(clippy::new_without_default)]
|
99 |
pub const fn new() -> Self {
|
59 |
impl MetadataStorage {
|
60 |
#[allow(clippy::new_without_default)]
|
61 |
pub fn new(raft_group: u16, num_raft_groups: u16) -> MetadataStorage {
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
impl SmartEngine {
|
86 |
impl Ui {
|
87 |
#[allow(clippy::new_without_default)] // Not using it
|
88 |
pub fn new(monitor_dimensions: Option<MonitorDimensions>) -> Self {
|
30 |
impl Assets {
|
31 |
#[allow(clippy::new_without_default)]
|
32 |
pub fn new(vulkan: Rc<RefCell<Vulkan>>) -> Self {
|
86 |
/// ```
|
87 |
#[allow(clippy::new_without_default)]
|
88 |
pub fn new() -> OpenOptions {
|
7 |
/// Wrapper for [`std::fs::OpenOptions::new`](https://doc.rust-lang.org/std/fs/struct.OpenOptions.html#method.new)
|
8 |
#[allow(clippy::new_without_default)]
|
9 |
pub fn new() -> Self {
|
14 |
// only internal use, no need for Default trait
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new() -> Self {
|
483 |
{
|
484 |
#[allow(clippy::new_without_default)]
|
485 |
pub fn new() -> Self {
|
537 |
{
|
538 |
#[allow(clippy::new_without_default)]
|
539 |
pub fn new() -> Self {
|
591 |
{
|
592 |
#[allow(clippy::new_without_default)]
|
593 |
pub fn new() -> Self {
|
656 |
{
|
657 |
#[allow(clippy::new_without_default)]
|
658 |
pub fn new() -> Self {
|
2220 |
#[allow(clippy::new_without_default)]
|
2221 |
impl<T: Float> PulseWave<T> {
|
47 |
#[inline]
|
48 |
#[allow(clippy::new_without_default)]
|
49 |
pub fn new() -> Self
|
336 |
#[inline]
|
337 |
#[allow(clippy::new_without_default)]
|
338 |
pub fn new() -> Self {
|
34 |
impl TrafficWatcher {
|
35 |
#[allow(clippy::new_without_default)]
|
36 |
pub fn new() -> Self {
|
7 |
impl StateManager {
|
8 |
#[allow(clippy::new_without_default)]
|
9 |
pub fn new() -> Self {
|
83 |
#[cfg(windows)]
|
84 |
#[allow(clippy::new_without_default)]
|
85 |
pub fn new() -> Self {
|
88 |
#[cfg(not(windows))]
|
89 |
#[allow(clippy::new_without_default)]
|
90 |
pub fn new() -> Self {
|
11 |
)]
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
mod allocator;
|
11 |
)]
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
mod allocator;
|
13 |
impl RepoMaker {
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
pub fn new() -> Self {
|
244 |
#[allow(clippy::new_without_default)]
|
245 |
impl AsyncInitableTestType {
|
132 |
#[allow(clippy::new_without_default)]
|
133 |
impl InitableTestType {
|
155 |
#[must_use]
|
156 |
#[allow(clippy::new_without_default)]
|
157 |
pub fn new() -> Self {
|
128 |
#[must_use]
|
129 |
#[allow(clippy::new_without_default)]
|
130 |
pub fn new() -> Self {
|
22 |
/// Create a new instances of the `Runtime`.
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
#[inline]
|
35 |
impl RenderSlice {
|
36 |
#[allow(clippy::new_without_default)]
|
37 |
pub fn new() -> Self {
|
29 |
/// Create a new instance
|
30 |
#[allow(clippy::new_without_default)]
|
31 |
pub fn new() -> Self {
|
44 |
/// Create a new [`Gate`](crate::sync::Gate)
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
pub fn new() -> Self {
|
34 |
#[allow(clippy::new_without_default)]
|
35 |
impl Plain {
|
41 |
#[allow(clippy::new_without_default)]
|
42 |
impl Abridged {
|
34 |
#[allow(clippy::new_without_default)]
|
35 |
impl Full {
|
32 |
#[allow(clippy::new_without_default)]
|
33 |
impl Intermediate {
|
43 |
#[allow(clippy::new_without_default)]
|
44 |
impl Session {
|
46 |
#[allow(clippy::new_without_default)]
|
47 |
/// Creation, querying, and setting base state.
|
22 |
#[allow(clippy::new_without_default)]
|
23 |
impl<N, NI, CI, PI> Graph<N, NI, CI, PI>
|
339 |
#[allow(clippy::new_without_default)]
|
340 |
impl<N, NI, CI, PI> SignalGraph<N, NI, CI, PI>
|
93 |
#[allow(dead_code)]
|
94 |
#[allow(clippy::new_without_default)]
|
95 |
pub fn new() -> Self {
|
50 |
/// various acceleration strategies.
|
51 |
#[allow(clippy::new_without_default)]
|
52 |
pub fn new() -> InterpAccel {
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
impl JsonClient {
|
67 |
impl Layer {
|
68 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default))]
|
69 |
pub fn new() -> Self {
|
308 |
/// [setup]: Runtime::setup
|
309 |
#[allow(clippy::new_without_default)]
|
310 |
pub fn new() -> Result<Runtime, Error> {
|
368 |
#[allow(clippy::new_without_default)]
|
369 |
impl FwIsoCtxTest {
|
397 |
#[allow(clippy::new_without_default)]
|
398 |
impl FwIsoResourceTest {
|
324 |
#[allow(clippy::new_without_default)]
|
325 |
impl AlsaFirewireTest {
|
123 |
#[allow(clippy::new_without_default)]
|
124 |
impl MotuCommandDspTest {
|
252 |
#[allow(clippy::new_without_default)]
|
253 |
impl MotuRegisterDspTest {
|
118 |
#[allow(clippy::new_without_default)]
|
119 |
impl QuadletNotificationTest {
|
175 |
#[allow(clippy::new_without_default)]
|
176 |
impl TascamProtocolTest {
|
14 |
impl EntryDefsInvocation {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new() -> Self {
|
48 |
impl ContextBuilder {
|
49 |
#[allow(clippy::new_without_default)]
|
50 |
pub fn new() -> Self {
|
107 |
impl ConductorApiBuilder {
|
108 |
#[allow(clippy::new_without_default)]
|
109 |
pub fn new() -> Self {
|
81 |
#[holochain_tracing_macros::newrelic_autotrace(HOLOCHAIN_CORE)]
|
82 |
#[allow(clippy::new_without_default)]
|
83 |
impl NetworkState {
|
44 |
/// This function might panic when acessing to the underlying clock failed.
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
pub fn new() -> Self {
|
152 |
/// This function might panic when acessing to the underlying clock failed.
|
153 |
#[allow(clippy::new_without_default)]
|
154 |
pub fn new() -> Self {
|
252 |
/// Create an `HTTPClient`
|
253 |
#[allow(clippy::new_without_default)]
|
254 |
pub fn new() -> Self {
|
59 |
#[allow(clippy::new_without_default)]
|
60 |
impl InstructionInfoFactory {
|
10 |
#[allow(clippy::new_without_default)]
|
11 |
impl<const S: usize> PulsedataSender<S> {
|
50 |
/// This function panics if it fails to create the context.
|
51 |
#[allow(clippy::new_without_default)]
|
52 |
pub fn new() -> Self {
|
59 |
/// Create a new chart builder
|
60 |
#[allow(clippy::new_without_default)] // builder struct not valid without other methods
|
61 |
#[must_use]
|
562 |
#[allow(clippy::new_without_default)]
|
563 |
pub fn new() -> Self {
|
263 |
impl<B: BV> Trace<B> {
|
264 |
#[allow(clippy::new_without_default)]
|
265 |
pub fn new() -> Self {
|
25 |
impl Snap {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Self {
|
194 |
impl Runs {
|
195 |
#[allow(clippy::new_without_default)]
|
196 |
pub fn new() -> Self {
|
24 |
/// Construct a new, unique group
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
111 |
}
|
112 |
#[allow(clippy::new_without_default)]
|
113 |
impl<'a, T: USBKeyOut> Keyboard<'a, T> {
|
252 |
// Compatibility is an opaque struct.
|
253 |
#[allow(clippy::new_without_default)]
|
254 |
pub fn new() -> Self {
|
213 |
/// [`handle_access()`](Ruleset::handle_access).
|
214 |
#[allow(clippy::new_without_default)]
|
215 |
pub fn new() -> Self {
|
262 |
impl ResolverFilledSetup {
|
263 |
#[allow(clippy::new_without_default)]
|
264 |
pub fn new() -> Self {
|
234 |
/// Create a new adapter instance.
|
235 |
#[allow(clippy::new_without_default)]
|
236 |
impl EntriesOnly {
|
69 |
/// Creates a new `Universe`.
|
70 |
#[allow(clippy::new_without_default)]
|
71 |
pub fn new() -> Self {
|
91 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
92 |
impl<S: Write + Read> InnerClient<S> {
|
60 |
impl Options {
|
61 |
#[allow(clippy::new_without_default)]
|
62 |
/// Create a new `Options` struct with default settings.
|
87 |
impl WriteOptions {
|
88 |
#[allow(clippy::new_without_default)]
|
89 |
/// Return a new `WriteOptions` struct with default settings.
|
116 |
impl<'a> ReadOptions<'a> {
|
117 |
#[allow(clippy::new_without_default)]
|
118 |
/// Return a `ReadOptions` struct with the default values.
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
impl ClientBuilder {
|
23 |
impl Directory {
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
pub fn new() -> Directory {
|
24 |
impl Entry {
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Entry {
|
22 |
impl<'a, T: 'a + Eq> Interner<'a, T> {
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
pub fn new() -> Self {
|
133 |
#[allow(clippy::new_without_default)]
|
134 |
impl Keypair<X25519> {
|
52 |
#[allow(clippy::new_without_default)]
|
53 |
impl Keypair<X25519Spec> {
|
120 |
#[allow(clippy::new_without_default)]
|
121 |
impl DummyProtocol {
|
11 |
{
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
pub fn new() -> Self {
|
7 |
impl<T: 'static + PartialEq> Scoreboard<T> {
|
8 |
#[allow(clippy::new_without_default)]
|
9 |
pub fn new() -> Self {
|
92 |
impl<T: 'static + PartialEq> Monitor<T> {
|
93 |
#[allow(clippy::new_without_default)]
|
94 |
pub fn new() -> Self {
|
380 |
impl<'a> ListOptions<'a> {
|
381 |
#[allow(clippy::new_without_default)]
|
382 |
pub fn new() -> Self {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
impl Headers {
|
28 |
impl Renderer {
|
29 |
#[allow(clippy::new_without_default)]
|
30 |
pub fn new() -> Self {
|
84 |
impl RendererWorker {
|
85 |
#[allow(clippy::new_without_default)]
|
86 |
fn new() -> Self {
|
190 |
#[allow(clippy::new_without_default)]
|
191 |
impl Lingo {
|
180 |
// not either, as it's a mock version of the `std` type.
|
181 |
#[allow(clippy::new_without_default)]
|
182 |
pub fn new() -> Builder {
|
71 |
impl<T> Implier<T> where T: std::string::ToString {
|
72 |
#[allow(clippy::new_without_default)]
|
73 |
pub fn new() -> Implier<T> {
|
25 |
impl Build {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Build {
|
24 |
impl Build {
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Build {
|
18 |
impl Build {
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
pub fn new() -> Build {
|
38 |
#[deprecated(since = "0.2.0", note = "this will no longer function as of Ruby 3.2")]
|
39 |
#[allow(clippy::new_without_default)]
|
40 |
pub fn new() -> Self {
|
73 |
impl VMHost {
|
74 |
#[allow(clippy::new_without_default)]
|
75 |
pub fn new(
|
18 |
impl<Message: std::fmt::Debug + Send + Sync + Clone> Fps<Message> {
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
pub fn new() -> Self {
|
18 |
/// Create a new post office instance.
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
pub fn new() -> Self {
|
19 |
impl TerminalRenderer {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
pub fn new() -> Self {
|
19 |
impl UnitProduct {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
pub fn new() -> Self {
|
133 |
impl<'a> Membrane {
|
134 |
#[allow(clippy::new_without_default)]
|
135 |
pub fn new() -> Self {
|
114 |
/// Create a new `Metro`.
|
115 |
#[allow(clippy::new_without_default)]
|
116 |
#[inline]
|
124 |
impl Machine {
|
125 |
#[allow(clippy::new_without_default)]
|
126 |
pub fn new() -> Self {
|
59 |
#[allow(clippy::new_without_default)]
|
60 |
impl Bigint {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
impl HeapVec {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
impl StackVec {
|
68 |
/// Construct a new SwapWriter with all-default Nones
|
69 |
#[allow(clippy::new_without_default)]
|
70 |
pub fn new() -> Self {
|
317 |
/// [`StdLib`]: crate::StdLib
|
318 |
#[allow(clippy::new_without_default)]
|
319 |
pub fn new() -> Lua {
|
41 |
impl CryptBuilder {
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
pub fn new() -> Self {
|
79 |
/// ```
|
80 |
#[allow(clippy::new_without_default)]
|
81 |
pub fn new() -> OpenOptions {
|
289 |
impl<T> SlotDropper<T> {
|
290 |
#[allow(clippy::new_without_default)]
|
291 |
pub fn new() -> Self {
|
16 |
impl TestExternalPrice {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
pub fn new() -> Self {
|
20 |
impl TestMetadata {
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
pub fn new() -> Self {
|
14 |
impl TestPackCard {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new(test_pack_set: &TestPackSet, index: u32) -> Self {
|
23 |
impl TestPackSet {
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
pub fn new(store: Pubkey) -> Self {
|
14 |
impl TestPackVoucher {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new(test_pack_set: &TestPackSet, index: u32) -> Self {
|
18 |
impl TestVault {
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
pub fn new() -> Self {
|
66 |
impl BlockchainStateWrapper {
|
67 |
#[allow(clippy::new_without_default)]
|
68 |
pub fn new() -> Self {
|
23 |
/// creates an empty borrow graph
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
pub fn new() -> Self {
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
impl<K: TName, V> RememberingUniqueMap<K, V> {
|
131 |
///
|
132 |
#[allow(clippy::new_without_default)]
|
133 |
pub fn new() -> std::io::Result<Db> {
|
232 |
impl DeviceModel {
|
233 |
#[allow(clippy::new_without_default)]
|
234 |
pub fn new() -> DeviceModel { glib::Object::new(&[]).expect("Failed to create DeviceModel") }
|
408 |
impl SpendingModel {
|
409 |
#[allow(clippy::new_without_default)]
|
410 |
pub fn new() -> SpendingModel {
|
166 |
impl BeneficiaryModel {
|
167 |
#[allow(clippy::new_without_default)]
|
168 |
pub fn new() -> BeneficiaryModel {
|
232 |
impl DeviceModel {
|
233 |
#[allow(clippy::new_without_default)]
|
234 |
pub fn new() -> DeviceModel { glib::Object::new(&[]).expect("Failed to create DeviceModel") }
|
408 |
impl SpendingModel {
|
409 |
#[allow(clippy::new_without_default)]
|
410 |
pub fn new() -> SpendingModel {
|
166 |
impl BeneficiaryModel {
|
167 |
#[allow(clippy::new_without_default)]
|
168 |
pub fn new() -> BeneficiaryModel {
|
37 |
#[allow(clippy::new_without_default)]
|
38 |
impl ClientProps {
|
46 |
impl BitWriter {
|
47 |
#[allow(clippy::new_without_default)]
|
48 |
pub fn new() -> Self {
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
impl<T: Eq + PartialEq> TimeQueue<T> {
|
11 |
impl SicTestCommandBuilder {
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
pub fn new() -> Self {
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
impl Codec {
|
9 |
#[allow(clippy::new_without_default)]
|
10 |
impl UniqueId {
|
247 |
#[allow(clippy::new_without_default)]
|
248 |
impl MockGraph {
|
33 |
/// Generate Poseidon constants
|
34 |
#[allow(clippy::new_without_default)]
|
35 |
fn new() -> Self {
|
34 |
impl<Err, InitErr> Selector<Err, InitErr> {
|
35 |
#[allow(clippy::new_without_default)]
|
36 |
pub fn new() -> Self {
|
35 |
impl<Err, InitErr> Selector<Err, InitErr> {
|
36 |
#[allow(clippy::new_without_default)]
|
37 |
pub fn new() -> Self {
|
13 |
#[allow(dead_code)]
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
pub fn new() -> Self {
|
26 |
/// Create a new accumulated time collector.
|
27 |
#[allow(clippy::new_without_default)]
|
28 |
pub fn new() -> Self {
|
36 |
#[allow(clippy::new_without_default)]
|
37 |
impl ChunkId {
|
61 |
impl<'a> CreateToken<'a> {
|
62 |
#[allow(clippy::new_without_default)]
|
63 |
pub fn new() -> Self {
|
97 |
impl OneTimeCode {
|
98 |
#[allow(clippy::new_without_default)]
|
99 |
pub fn new() -> Self {
|
67 |
impl Keyring {
|
68 |
#[allow(clippy::new_without_default)]
|
69 |
pub(crate) fn new() -> Self {
|
71 |
#[allow(clippy::new_without_default)]
|
72 |
impl Event {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
impl GraphicsPath {
|
31 |
impl Controller {
|
32 |
#[allow(clippy::new_without_default)]
|
33 |
pub async fn new() -> Self {
|
68 |
/// create a new StatusReader
|
69 |
#[allow(clippy::new_without_default)]
|
70 |
pub fn new(initial: Status) -> Self {
|
79 |
{
|
80 |
#[allow(clippy::new_without_default)]
|
81 |
pub fn new() -> Self {
|
502 |
pub type RawStdout = SigPipeWriter<io::Stdout>;
|
503 |
#[allow(clippy::new_without_default)] // Don't want these made willy-nilly
|
504 |
impl RawStdout { pub fn new() -> Self { SigPipeWriter(io::stdout()) } }
|
506 |
pub struct CookedStdout(pub BufWriter<SigPipeWriter<io::Stdout>>);
|
507 |
#[allow(clippy::new_without_default)] // Don't want these made willy-nilly
|
508 |
impl CookedStdout {
|
531 |
/// Wrapper for [`actix_web::Route::new`](https://docs.rs/actix-web/*/actix_web/struct.Route.html#method.new)
|
532 |
#[allow(clippy::new_without_default)]
|
533 |
pub fn new() -> Route {
|
564 |
/// Wrapper for [`actix_web::Route::new`](https://docs.rs/actix-web/*/actix_web/struct.Route.html#method.new)
|
565 |
#[allow(clippy::new_without_default)]
|
566 |
pub fn new() -> Route {
|
37 |
#[allow(clippy::new_without_default)]
|
38 |
impl OperationClient {
|
58 |
#[cfg(feature = "testing")]
|
59 |
#[allow(clippy::new_without_default)]
|
60 |
pub fn new() -> WireHeader {
|
236 |
#[cfg(engine)]
|
237 |
#[allow(clippy::new_without_default)]
|
238 |
pub fn new() -> Self {
|
254 |
#[cfg(any(client, doc))]
|
255 |
#[allow(clippy::new_without_default)]
|
256 |
pub fn new() -> Self {
|
51 |
/// Creates a new instance of this `struct`.
|
52 |
#[allow(clippy::new_without_default)]
|
53 |
pub fn new() -> Self {
|
38 |
impl NullRenderContext {
|
39 |
#[allow(clippy::new_without_default)]
|
40 |
#[doc(hidden)]
|
152 |
/// Create a new factory that satisfies the piet `Text` trait.
|
153 |
#[allow(clippy::new_without_default)]
|
154 |
pub fn new() -> CairoText {
|
35 |
impl Text {
|
36 |
#[allow(clippy::new_without_default)]
|
37 |
pub fn new() -> Self {
|
48 |
impl<const TRACK_WRITE: bool> AccessTracker<TRACK_WRITE> {
|
49 |
#[allow(clippy::new_without_default)]
|
50 |
pub fn new() -> Self {
|
524 |
/// Create a new Assembler.
|
525 |
#[allow(clippy::new_without_default)]
|
526 |
pub fn new() -> Self {
|
530 |
/// Create a new Assembler with `SideSet` settings.
|
531 |
#[allow(clippy::new_without_default)]
|
532 |
pub fn new_with_side_set(side_set: SideSet) -> Self {
|
5 |
#[allow(clippy::new_without_default)]
|
6 |
impl BackOff {
|
53 |
#[allow(clippy::new_without_default)]
|
54 |
impl Buffer {
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
pub struct Drain {
|
59 |
#[allow(clippy::new_without_default)]
|
60 |
impl Junction {
|
96 |
#[allow(clippy::new_without_default)]
|
97 |
impl <E: IntoIterator<Item = (K, V)>,
|
168 |
#[allow(clippy::new_without_default)]
|
169 |
impl Waiter {
|
10 |
#[allow(clippy::new_without_default)]
|
11 |
impl MatcherBuilder {
|
14 |
impl CorrelationId {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
#[cfg(not(feature = "test"))]
|
15 |
impl RequestId {
|
16 |
#[allow(clippy::new_without_default)]
|
17 |
#[cfg(not(feature = "test"))]
|
282 |
/// PID, UID and GID is set to 0.
|
283 |
#[allow(clippy::new_without_default)]
|
284 |
pub fn new() -> SocketCred {
|
136 |
impl GraphInnerWidget {
|
137 |
#[allow(clippy::new_without_default)]
|
138 |
pub fn new() -> Self {
|
82 |
impl Keypair<SecretKey> {
|
83 |
#[allow(clippy::new_without_default)] // `Default` impl doesn't make sense semantically
|
84 |
pub fn new() -> Self {
|
41 |
/// Creates a new universe.
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
pub fn new() -> Universe {
|
18 |
/// A utility for building `Gadget`s. See the readme for examples.
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
impl<F: Field> GadgetBuilder<F> {
|
128 |
/// Stream and position are set to 0.
|
129 |
#[allow(clippy::new_without_default)]
|
130 |
pub fn new() -> Self {
|
177 |
/// Stream and position are set to 0.
|
178 |
#[allow(clippy::new_without_default)]
|
179 |
pub fn new() -> Self {
|
94 |
/// Allocate the hash table.
|
95 |
#[allow(clippy::new_without_default)]
|
96 |
pub fn new() -> HashTable {
|
25 |
impl ConfigWatcher {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Self {
|
14 |
impl SessionAcl {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new() -> Self {
|
25 |
impl<T: Actor> ConnectionLimiter<T> {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Self {
|
25 |
impl Registry {
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Self {
|
127 |
/// Construct a new `Serializer`.
|
128 |
#[allow(clippy::new_without_default)]
|
129 |
pub fn new() -> Serializer {
|
507 |
/// - `write_strategy`: [WriteStrategy::Checksum]
|
508 |
#[allow(clippy::new_without_default)]
|
509 |
pub fn new() -> Self {
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
impl<T> Mmio<T> {
|
141 |
#[allow(clippy::new_without_default_derive)]
|
142 |
impl<T> RegionBuffer<T> {
|
15 |
impl Repl {
|
16 |
#[allow(clippy::new_without_default)]
|
17 |
pub fn new() -> Self {
|
77 |
impl PackedHasher {
|
78 |
#[allow(clippy::new_without_default)]
|
79 |
pub fn new() -> Self {
|
10 |
impl RillPool {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
pub fn new() -> Self {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
impl AlertState {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
impl PathState {
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
impl ReadyBoardState {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
impl SelectorState {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
impl ToggleState {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
impl CounterState {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
impl DictState {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
impl LoggerState {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
impl<T: FrameFlowSpec> FrameFlowState<T> {
|
34 |
#[allow(clippy::new_without_default)]
|
35 |
impl<T: ListFlowSpec> ListFlowState<T> {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
impl<T: MetaFlowSpec> MetaFlowState<T> {
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
impl<T: StatFlowSpec> StatFlowState<T> {
|
10 |
impl DescriptionsListTracer {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
pub fn new() -> Self {
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
impl ProclistState {
|
12 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
13 |
impl GetTargetVersion {
|
57 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
58 |
impl GetServerVersion {
|
19 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
20 |
impl ListCollections {
|
899 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
900 |
impl CollectionPropertiesUpdate {
|
16 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
17 |
impl GetCurrentDatabase {
|
66 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
67 |
impl ListDatabases {
|
112 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
113 |
impl ListAccessibleDatabases {
|
182 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
183 |
impl ListGraphs {
|
89 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
90 |
impl<E> ListUsers<E>
|
25 |
/// Create a new RequestBuilder
|
26 |
#[allow(clippy::new_without_default)]
|
27 |
pub fn new() -> Self {
|
5 |
#[allow(clippy::new_without_default)]
|
6 |
impl StorageEncoder {
|
13 |
impl LayoutsTracer {
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
pub fn new() -> Self {
|
13 |
impl PathsTracer {
|
14 |
#[allow(clippy::new_without_default)]
|
15 |
pub fn new() -> Self {
|
231 |
#[allow(clippy::new_without_default)]
|
232 |
impl TestDocument {
|
34 |
#[allow(clippy::new_without_default, clippy::new_ret_no_self)]
|
35 |
impl<TCtx, TMeta> Router<TCtx, TMeta>
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
impl<TCtx, TMeta> RouterBuilder<TCtx, TMeta, BaseMiddleware<TCtx>>
|
66 |
/// create a new empty [Queue]
|
67 |
#[allow(clippy::new_without_default)]
|
68 |
pub fn new() -> Self {
|
9544 |
#[allow(clippy::new_without_default)]
|
9545 |
impl FilterCondition {
|
52 |
#[allow(clippy::new_without_default)]
|
53 |
impl DomainParticipant {
|
615 |
#[allow(clippy::new_without_default)]
|
616 |
impl DomainParticipantInner {
|
232 |
#[allow(clippy::new_without_default)]
|
233 |
impl SampleInfo {
|
118 |
/// Creates a new empty `Owning`.
|
119 |
#[allow(clippy::new_without_default)] // This is a specialized type that doesn't need to be generically constructible.
|
120 |
#[inline]
|
28 |
#[allow(clippy::new_without_default)]
|
29 |
impl Junction {
|
19 |
impl UnitProduct {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
pub fn new() -> Self {
|
587 |
#[allow(clippy::new_without_default)]
|
588 |
impl<H: Helper> Editor<H> {
|
587 |
#[allow(clippy::new_without_default)]
|
588 |
impl<H: Helper> Editor<H> {
|
46 |
impl Stats {
|
47 |
#[allow(clippy::new_without_default)]
|
48 |
pub fn new() -> Stats {
|
89 |
impl DefaultRunner {
|
90 |
#[allow(clippy::new_without_default)]
|
91 |
pub fn new() -> Self {
|
55 |
#[doc(hidden)]
|
56 |
#[allow(clippy::new_without_default)]
|
57 |
pub fn new() -> Self {
|
226 |
#[must_use]
|
227 |
#[allow(clippy::new_without_default)]
|
228 |
pub fn new() -> Self {
|
209 |
impl Block {
|
210 |
#[allow(clippy::new_without_default)]
|
211 |
pub fn new() -> Block {
|
55 |
impl Blockchain {
|
56 |
#[allow(clippy::new_without_default)]
|
57 |
pub fn new(wallet_lock: Arc<RwLock<Wallet>>) -> Self {
|
24 |
impl RingItem {
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
96 |
/// Create new `BlockRing`
|
97 |
#[allow(clippy::new_without_default)]
|
98 |
pub fn new() -> Self {
|
16 |
impl GoldenTicket {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
pub fn new(target: SaitoHash, random: SaitoHash, publickey: SaitoPublicKey) -> Self {
|
45 |
impl Mempool {
|
46 |
#[allow(clippy::new_without_default)]
|
47 |
pub fn new(wallet_lock: Arc<RwLock<Wallet>>) -> Self {
|
49 |
impl Slip {
|
50 |
#[allow(clippy::new_without_default)]
|
51 |
pub fn new() -> Self {
|
70 |
impl Transaction {
|
71 |
#[allow(clippy::new_without_default)]
|
72 |
pub fn new() -> Self {
|
437 |
impl WalletSlip {
|
438 |
#[allow(clippy::new_without_default)]
|
439 |
pub fn new() -> Self {
|
209 |
impl Block {
|
210 |
#[allow(clippy::new_without_default)]
|
211 |
pub fn new() -> Block {
|
55 |
impl Blockchain {
|
56 |
#[allow(clippy::new_without_default)]
|
57 |
pub fn new(wallet_lock: Arc<RwLock<Wallet>>) -> Self {
|
24 |
impl RingItem {
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
96 |
/// Create new `BlockRing`
|
97 |
#[allow(clippy::new_without_default)]
|
98 |
pub fn new() -> Self {
|
16 |
impl GoldenTicket {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
pub fn new(target: SaitoHash, random: SaitoHash, publickey: SaitoPublicKey) -> Self {
|
45 |
impl Mempool {
|
46 |
#[allow(clippy::new_without_default)]
|
47 |
pub fn new(wallet_lock: Arc<RwLock<Wallet>>) -> Self {
|
49 |
impl Slip {
|
50 |
#[allow(clippy::new_without_default)]
|
51 |
pub fn new() -> Self {
|
70 |
impl Transaction {
|
71 |
#[allow(clippy::new_without_default)]
|
72 |
pub fn new() -> Self {
|
437 |
impl WalletSlip {
|
438 |
#[allow(clippy::new_without_default)]
|
439 |
pub fn new() -> Self {
|
20 |
/// Creates a new [LexerBuilder] with no rules.
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
pub fn new() -> LexerBuilder {
|
44 |
impl SmallbankTransactionHandler {
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
pub fn new() -> SmallbankTransactionHandler {
|
91 |
// `Window::new()` is rather expensive operation to make it default.
|
92 |
#[allow(clippy::new_without_default)]
|
93 |
impl Window {
|
259 |
/// Constructs a new `RenderGraph`.
|
260 |
#[allow(clippy::new_without_default)]
|
261 |
pub fn new() -> Self {
|
54 |
/// Creates a new LengthErrorData for the expected length and actual length
|
55 |
#[allow(clippy::new_without_default)]
|
56 |
pub fn new(expected_length: usize, got_length: usize) -> Self {
|
68 |
/// However you will need to create a Printer for using the [`dynamic_print()`](crate::printer::Printer::dynamic_print()) method.
|
69 |
#[allow(clippy::new_without_default)]
|
70 |
pub fn new(grid_width: usize, grid_height: usize) -> Self {
|
191 |
/// docs](crate) for usage information.
|
192 |
#[allow(clippy::new_without_default)]
|
193 |
pub fn new() -> Self {
|
282 |
#[allow(clippy::new_without_default)]
|
283 |
impl CertBuilder<'_> {
|
87 |
#[allow(clippy::new_without_default)]
|
88 |
impl CertRevocationBuilder {
|
416 |
#[allow(clippy::new_without_default)]
|
417 |
impl SubkeyRevocationBuilder {
|
741 |
#[allow(clippy::new_without_default)]
|
742 |
impl UserIDRevocationBuilder {
|
1080 |
#[allow(clippy::new_without_default)]
|
1081 |
impl UserAttributeRevocationBuilder {
|
49 |
#[allow(clippy::new_without_default)]
|
50 |
impl SEIP1 {
|
17 |
impl SimpleKeySerializer {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> Self {
|
17 |
impl SimpleKeySerializer {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> Self {
|
35 |
impl State {
|
36 |
#[allow(clippy::new_without_default)]
|
37 |
#[must_use]
|
232 |
/// - no cache dir, server rejects large request bodies
|
233 |
#[allow(clippy::new_without_default)]
|
234 |
#[must_use]
|
10 |
#[must_use]
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
pub fn new() -> Self {
|
61 |
}
|
62 |
#[allow(clippy::new_without_default)]
|
63 |
impl ShmemConf {
|
16 |
#[allow(clippy::new_without_default)]
|
17 |
impl Server {
|
21 |
impl Context {
|
22 |
#[allow(clippy::new_without_default)]
|
23 |
pub fn new() -> Self {
|
13 |
#[allow(clippy::new_without_default)]
|
14 |
impl Server {
|
11 |
impl SicTestCommandBuilder {
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
pub fn new() -> Self {
|
17 |
impl ConnectionState {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
pub fn new() -> ConnectionState {
|
41 |
impl MessageLogger {
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
pub fn new() -> Self {
|
12 |
#[allow(clippy::new_without_default)]
|
13 |
impl Arm {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
impl Component {
|
8 |
#[allow(clippy::new_without_default)]
|
9 |
impl KeyedFor {
|
9 |
#[allow(clippy::new_without_default)]
|
10 |
impl NodeList {
|
9 |
#[allow(clippy::new_without_default)]
|
10 |
impl NonKeyedFor {
|
84 |
#[cfg(windows)]
|
85 |
#[allow(clippy::new_without_default)]
|
86 |
pub fn new() -> Self {
|
89 |
#[cfg(not(windows))]
|
90 |
#[allow(clippy::new_without_default)]
|
91 |
pub fn new() -> Self {
|
22 |
/// Create a new TimeState. Default is not allowed because the current time affects the object
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
pub fn new() -> TimeState {
|
110 |
/// Create a new TimeState. Default is not allowed because the current time affects the object
|
111 |
#[allow(clippy::new_without_default)]
|
112 |
pub fn new() -> Self {
|
153 |
impl Context {
|
154 |
#[allow(clippy::new_without_default)]
|
155 |
pub fn new() -> Self {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
impl Loopback {
|
135 |
/// Create a DHCPv4 socket
|
136 |
#[allow(clippy::new_without_default)]
|
137 |
pub fn new() -> Self {
|
100 |
impl DataReceiver {
|
101 |
#[allow(clippy::new_without_default)]
|
102 |
pub fn new() -> Self {
|
287 |
impl RawBuffer {
|
288 |
#[allow(clippy::new_without_default)]
|
289 |
pub fn new() -> RawBuffer {
|
681 |
// commands.
|
682 |
#[allow(clippy::new_without_default)]
|
683 |
pub fn new() -> Quit {
|
1369 |
// commands.
|
1370 |
#[allow(clippy::new_without_default)]
|
1371 |
pub fn new() -> ClearSched {
|
458 |
/// Constructs a `LoggerBuilder`.
|
459 |
#[allow(clippy::new_without_default)]
|
460 |
#[deprecated(
|
22 |
/// Constructs a `WinDebugSink`.
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
#[deprecated(
|
75 |
/// Constructs a `Style` with no styles.
|
76 |
#[allow(clippy::new_without_default)]
|
77 |
#[deprecated(
|
190 |
/// Constructs a `StyleBuilder`.
|
191 |
#[allow(clippy::new_without_default)]
|
192 |
#[deprecated(
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
impl FunctionRegistry {
|
20 |
#[allow(clippy::new_without_default)]
|
21 |
impl FunctionRegistry {
|
31 |
impl ControlBlock {
|
32 |
#[cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
9 |
#[allow(unused_parens)]
|
10 |
#[allow(clippy::new_without_default)]
|
11 |
pub mod client {
|
119 |
#[allow(unused_parens)]
|
120 |
#[allow(clippy::new_without_default)]
|
121 |
pub mod server {
|
44 |
/// until it eventually perpetually tries to reconnect every 30 minutes.
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
pub fn new() -> Self {
|
32 |
/// until it eventually perpetually tries to reconnect every 30 minutes.
|
33 |
#[allow(clippy::new_without_default)]
|
34 |
pub fn new() -> Self {
|
83 |
/// The `MemoryArena`
|
84 |
#[allow(clippy::new_without_default)]
|
85 |
pub struct MemoryArena {
|
99 |
/// Shortcut for `Mark::fresh(Mark::root())`
|
100 |
#[allow(clippy::new_without_default)]
|
101 |
pub fn new() -> Self {
|
53 |
impl Marks {
|
54 |
#[allow(clippy::new_without_default)]
|
55 |
pub fn new() -> Self {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
impl LogFlowState {
|
31 |
#[allow(clippy::new_without_default)]
|
32 |
impl ProcessMonitorState {
|
83 |
/// The `MemoryArena`
|
84 |
#[allow(clippy::new_without_default)]
|
85 |
pub struct MemoryArena {
|
83 |
/// The `MemoryArena`
|
84 |
#[allow(clippy::new_without_default)]
|
85 |
pub struct MemoryArena {
|
100 |
#[allow(clippy::new_without_default)]
|
101 |
impl WindowsResource {
|
24 |
/// Creates a bare builder
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
24 |
/// Creates a bare builder
|
25 |
#[allow(clippy::new_without_default)]
|
26 |
pub fn new() -> Self {
|
88 |
impl TempFileBuilder {
|
89 |
#[allow(clippy::new_without_default)]
|
90 |
#[must_use]
|
27 |
#[allow(clippy::new_without_default)]
|
28 |
impl LogLineWriter {
|
126 |
impl Tester {
|
127 |
#[allow(clippy::new_without_default)]
|
128 |
pub fn new() -> Self {
|
104 |
#[allow(clippy::new_without_default)]
|
105 |
impl<T> Categories<T>
|
10 |
impl Stdin {
|
11 |
#[allow(clippy::new_without_default)]
|
12 |
pub fn new() -> Self {
|
15 |
impl StdoutWriter {
|
16 |
#[allow(clippy::new_without_default)]
|
17 |
pub fn new() -> Self {
|
37 |
impl BufferedWriter {
|
38 |
#[allow(clippy::new_without_default)]
|
39 |
pub fn new() -> Self {
|
42 |
/// Returns a new `Clock` instance.
|
43 |
#[allow(clippy::new_without_default)]
|
44 |
pub fn new() -> Self {
|
33 |
/// Returns a new `MultiSet` instance.
|
34 |
#[allow(clippy::new_without_default)]
|
35 |
pub fn new() -> Self {
|
37 |
/// Returns a new `TClock` instance.
|
38 |
#[allow(clippy::new_without_default)]
|
39 |
pub fn new() -> Self {
|
207 |
#[allow(clippy::new_without_default)]
|
208 |
impl BoxedClient {
|
23 |
#[allow(clippy::new_without_default)]
|
24 |
impl SagemcomClient {
|
32 |
#[allow(clippy::new_without_default)]
|
33 |
impl TrashcanClient {
|
27 |
#[allow(clippy::new_without_default)]
|
28 |
impl<'a> AuthToken<'a> {
|
60 |
/// The Toplevel object is the base for everything else in this crate.
|
61 |
#[allow(clippy::new_without_default)]
|
62 |
pub fn new() -> Self {
|
48 |
/// The Toplevel object is the base for everything else in this crate.
|
49 |
#[allow(clippy::new_without_default)]
|
50 |
pub fn new() -> Self {
|
49 |
/// IOCP support is enabled.
|
50 |
#[allow(clippy::new_without_default)]
|
51 |
#[must_use]
|
123 |
/// PID, UID and GID is set to 0.
|
124 |
#[allow(clippy::new_without_default)]
|
125 |
pub fn new() -> SocketCred {
|
170 |
#[allow(clippy::new_without_default)]
|
171 |
impl IsolationToken {
|
44 |
impl SmallbankTransactionHandler {
|
45 |
#[allow(clippy::new_without_default)]
|
46 |
pub fn new() -> SmallbankTransactionHandler {
|
58 |
{
|
59 |
#[allow(clippy::new_without_default)]
|
60 |
pub fn new() -> TrayIconBuilder<T> {
|
41 |
impl TritonProfiler {
|
42 |
#[allow(clippy::new_without_default)]
|
43 |
pub fn new(name: &str) -> Self {
|
46 |
{
|
47 |
#[allow(clippy::new_without_default)]
|
48 |
pub fn new() -> Self {
|
36 |
/// TODO: change this name to create or something
|
37 |
#[allow(clippy::new_without_default)]
|
38 |
#[doc(hidden)]
|
284 |
impl TestCases {
|
285 |
#[allow(clippy::new_without_default)]
|
286 |
pub fn new() -> Self {
|
337 |
impl TestCases {
|
338 |
#[allow(clippy::new_without_default)]
|
339 |
pub fn new() -> Self {
|
27 |
impl Endpoint {
|
28 |
#[allow(clippy::new_without_default)]
|
29 |
/// Create new endpoint which matches any request
|
216 |
/// Construct a new typed v1 Uuid
|
217 |
#[allow(clippy::new_without_default)]
|
218 |
pub fn new(ts: Timestamp, node_id: &[u8; 6]) -> Self {
|
262 |
/// Construct a new typed v3 Uuid
|
263 |
#[allow(clippy::new_without_default)]
|
264 |
pub fn new(namespace: &Uuid, name: &[u8]) -> Self {
|
307 |
/// Construct a new typed v4 Uuid
|
308 |
#[allow(clippy::new_without_default)]
|
309 |
pub fn new() -> Self {
|
351 |
/// Construct a new typed v5 Uuid
|
352 |
#[allow(clippy::new_without_default)]
|
353 |
pub fn new(namespace: &Uuid, name: &[u8]) -> Self {
|
397 |
/// Construct a new typed v6 Uuid
|
398 |
#[allow(clippy::new_without_default)]
|
399 |
pub fn new(ts: Timestamp, node_id: &[u8; 6]) -> Self {
|
60 |
#[allow(clippy::new_without_default)]
|
61 |
impl<T: Identity, E> InMemoryRepository<T, E> {
|
148 |
impl Bar {
|
149 |
#[allow(clippy::new_without_default)]
|
150 |
/// Basic function to generate and empty bar object. Main focus is starting the essential
|
27 |
impl Builder {
|
28 |
#[allow(clippy::new_without_default)]
|
29 |
#[allow(unused)]
|
90 |
#[inline]
|
91 |
#[allow(clippy::new_without_default)]
|
92 |
pub fn new() -> Self {
|
29 |
impl BinsVisitor {
|
30 |
#[allow(clippy::new_without_default)]
|
31 |
pub fn new() -> Self {
|
67 |
impl UstrVisitor {
|
68 |
#[allow(clippy::new_without_default)]
|
69 |
pub fn new() -> Self {
|
126 |
impl BytesChunk {
|
127 |
#[allow(clippy::new_without_default)]
|
128 |
pub fn new() -> Self {
|
118 |
impl Terminal {
|
119 |
#[allow(clippy::new_without_default)]
|
120 |
pub fn new() -> Self {
|
14 |
impl CallbackId {
|
15 |
#[allow(clippy::new_without_default)]
|
16 |
pub fn new() -> CallbackId {
|
92 |
/// If callback is provided then it is fired instead.
|
93 |
#[allow(clippy::new_without_default)]
|
94 |
pub fn new() -> Self {
|
250 |
// Using 64-bits we can create 5 * 10**9 ids per second for 100 years before wrapping
|
251 |
#[allow(clippy::new_without_default)]
|
252 |
pub fn undefined() -> Self {
|
410 |
#[inline]
|
411 |
#[allow(clippy::new_without_default)]
|
412 |
/// Starts building a new viaduct in the child process.
|
24 |
#[allow(clippy::new_without_default)]
|
25 |
impl OsFacts {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
impl Config {
|
405 |
impl VTParser {
|
406 |
#[allow(clippy::new_without_default)]
|
407 |
pub fn new() -> Self {
|
21 |
#[wasm_bindgen(constructor)]
|
22 |
#[allow(clippy::new_without_default)]
|
23 |
pub fn new() -> PrivateForest {
|
18 |
#[wasm_bindgen(constructor)]
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
pub fn new() -> Namefilter {
|
469 |
// AllocHashSet::default to push_front_no_alloc, and that will not work.
|
470 |
#[allow(clippy::new_without_default)]
|
471 |
pub fn new() -> Self {
|
48 |
#[allow(clippy::new_without_default)]
|
49 |
impl Response {
|
118 |
/// is set but cannot be parsed to a valid [`usize`]
|
119 |
#[allow(clippy::new_without_default)]
|
120 |
pub fn new() -> Self {
|
103 |
#[allow(clippy::new_without_default)]
|
104 |
impl WindowsResource {
|
103 |
#[allow(clippy::new_without_default)]
|
104 |
impl WindowsResource {
|
46 |
impl TestClock {
|
47 |
#[allow(clippy::new_without_default)]
|
48 |
pub fn new() -> TestClock {
|
911 |
#[allow(clippy::new_without_default)]
|
912 |
impl<A> DefaultThreadCreator<A> where A: ThreadGlobalEnvCreator {
|
36 |
#[wasm_bindgen(constructor)]
|
37 |
#[allow(clippy::new_without_default)]
|
38 |
pub fn new() -> PrivateForest {
|
18 |
#[wasm_bindgen(constructor)]
|
19 |
#[allow(clippy::new_without_default)]
|
20 |
pub fn new() -> Namefilter {
|
170 |
#[allow(clippy::new_without_default_derive)]
|
171 |
#[wasm_bindgen]
|
73 |
/// that is sent will have sequence number one.
|
74 |
#[allow(clippy::new_without_default)]
|
75 |
pub fn new() -> Self {
|
18 |
#[allow(clippy::new_without_default)]
|
19 |
impl Loopback {
|
135 |
/// Create a DHCPv4 socket
|
136 |
#[allow(clippy::new_without_default)]
|
137 |
pub fn new() -> Self {
|
20 |
/// Creates a new yakui State.
|
21 |
#[allow(clippy::new_without_default)]
|
22 |
pub fn new() -> Self {
|
27 |
impl YakuiWinit {
|
28 |
#[allow(clippy::new_without_default)]
|
29 |
pub fn new(window: &Window) -> Self {
|
63 |
{
|
64 |
#[allow(clippy::new_without_default)]
|
65 |
pub fn new() -> Self
|
587 |
#[allow(clippy::new_without_default)]
|
588 |
impl<H: Helper> Editor<H> {
|
51 |
#[allow(clippy::new_without_default)]
|
52 |
impl BaseNode {
|
17 |
#[allow(clippy::new_without_default)]
|
18 |
impl FinalNode {
|
27 |
#[allow(clippy::new_without_default)]
|
28 |
impl InheritanceNode {
|
46 |
}
|
47 |
#[allow(clippy::new_without_default)]
|
48 |
impl<C: RawHandleImpl> GcHandleList<C> {
|
209 |
}
|
210 |
#[allow(clippy::new_without_default)]
|
211 |
impl CollectorState {
|
330 |
}
|
331 |
#[allow(clippy::new_without_default)]
|
332 |
impl<C: RawCollectorImpl> CollectorState<C> {
|
184 |
#[must_use]
|
185 |
#[allow(clippy::new_without_default)]
|
186 |
pub fn new() -> Decoder
|
1 |
#![allow(clippy::type_complexity, clippy::new_without_default, dead_code)]
|
2 |
mod app;
|
1 |
#![allow(clippy::type_complexity, clippy::new_without_default, dead_code)]
|
2 |
mod app;
|
5 |
clippy::too_many_arguments,
|
6 |
clippy::new_without_default,
|
7 |
clippy::borrow_interior_mutable_const
|
78 |
//! dependency
|
79 |
#![allow(clippy::type_complexity, clippy::new_without_default)]
|
16 |
#![deny(warnings)]
|
17 |
#![allow(clippy::new_without_default)]
|
4 |
irrefutable_let_patterns,
|
5 |
clippy::new_without_default,
|
6 |
unused_mut,
|
63 |
#![warn(clippy::all)]
|
64 |
#![allow(clippy::new_without_default)]
|
54 |
#![warn(clippy::all)]
|
55 |
#![allow(clippy::new_without_default)]
|
8 |
#![warn(clippy::all)]
|
9 |
#![allow(clippy::new_without_default)]
|
10 |
#![warn(clippy::all)]
|
11 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
8 |
#![warn(clippy::all)]
|
9 |
#![allow(clippy::new_without_default)]
|
18 |
#![warn(clippy::all)]
|
19 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
44 |
#![warn(clippy::all)]
|
45 |
#![allow(clippy::new_without_default)]
|
46 |
#![allow(unused_variables, dead_code)]
|
7 |
#![warn(clippy::all)]
|
8 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
10 |
#![warn(clippy::all)]
|
11 |
#![allow(clippy::new_without_default)]
|
1 |
#![cfg(feature = "server")]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use log::debug;
|
5 |
// right place for it to take effect
|
6 |
#![allow(clippy::new_without_default)]
|
7 |
use fnv::FnvHasher;
|
1 |
//! A module that containers the core of the arena allocator
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(unused)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use tensor_rs::tensor::Tensor;
|
1 |
#![allow(unused_parens, clippy::new_without_default)]
|
2 |
#![forbid(unsafe_code)]
|
1 |
#![allow(clippy::enum_variant_names)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::module_inception)]
|
1 |
#![allow(clippy::enum_variant_names)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::module_inception)]
|
18 |
#![allow(clippy::enum_variant_names)]
|
19 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(unknown_lints)]
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![allow(clippy::comparison_chain)]
|
10 |
// No need for defaults in the internal types.
|
11 |
clippy::new_without_default,
|
12 |
// For some reason `rustc` can warn about these in const generics even
|
1 |
#![allow(
|
2 |
clippy::new_without_default,
|
3 |
clippy::needless_update,
|
8 |
// No need for defaults in the internal types.
|
9 |
clippy::new_without_default,
|
10 |
// Matches are good and extendable, no need to make an exception here.
|
10 |
clippy::needless_doctest_main,
|
11 |
clippy::new_without_default
|
12 |
)]
|
54 |
#![deny(rustdoc::broken_intra_doc_links)]
|
55 |
#![allow(clippy::new_without_default)]
|
56 |
#![feature(test)]
|
1 |
#![deny(clippy::perf)]
|
2 |
#![allow(clippy::complexity, clippy::new_without_default)]
|
3 |
#[macro_use]
|
19 |
clippy::type_complexity,
|
20 |
clippy::new_without_default,
|
21 |
clippy::upper_case_acronyms
|
284 |
#![allow(clippy::needless_return)]
|
285 |
#![allow(clippy::new_without_default)]
|
286 |
#![allow(clippy::comparison_chain)]//is this really clearer???
|
19 |
#![allow(clippy::enum_variant_names)]
|
20 |
#![allow(clippy::new_without_default)]
|
21 |
#![allow(clippy::struct_excessive_bools)]
|
19 |
#![allow(clippy::enum_variant_names)]
|
20 |
#![allow(clippy::new_without_default)]
|
21 |
#![allow(clippy::struct_excessive_bools)]
|
1 |
#![allow(clippy::new_without_default)]
|
13 |
#![doc(hidden)]
|
14 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::many_single_char_names)]
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
#![allow(clippy::unnecessary_wraps)]
|
16 |
renamed_and_removed_lints,
|
17 |
clippy::new_without_default,
|
18 |
clippy::unneeded_field_pattern,
|
1 |
#![allow(non_snake_case)]
|
2 |
#![allow(clippy::new_without_default)]
|
16 |
#![allow(clippy::new_without_default)] // https://github.com/rust-lang/rust-clippy/issues/3632
|
8 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
19 |
clippy::unused_io_amount,
|
20 |
clippy::new_without_default
|
21 |
)]
|
57 |
// Not interested in these lints
|
58 |
#![allow(clippy::new_without_default)]
|
5 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
6 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
7 |
#![cfg_attr(
|
27 |
// These are relatively minor style issues, but would be easy to fix:
|
28 |
new_without_default,
|
29 |
new_without_default_derive,
|
30 |
should_implement_trait,
|
7 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
8 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
9 |
#![cfg_attr(
|
132 |
#![cfg_attr(feature = "std", warn(unstable_features))]
|
133 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default))]
|
134 |
#![cfg_attr(
|
6 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
7 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
8 |
#![cfg_attr(
|
6 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
7 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
8 |
#![cfg_attr(
|
8 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
9 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
10 |
#![cfg_attr(
|
5 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
6 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
7 |
#![cfg_attr(
|
15 |
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
16 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
|
17 |
#![cfg_attr(
|
28 |
#![allow(clippy::unreadable_literal)]
|
29 |
#![allow(clippy::new_without_default)]
|
30 |
#![allow(clippy::let_and_return)]
|
390 |
clippy::needless_doctest_main,
|
391 |
clippy::new_without_default,
|
392 |
clippy::or_fun_call,
|
64 |
clippy::needless_pass_by_value,
|
65 |
clippy::new_without_default,
|
66 |
clippy::nonminimal_bool,
|
25 |
clippy::needless_pass_by_value,
|
26 |
clippy::new_without_default,
|
27 |
clippy::nonminimal_bool,
|
15 |
clippy::needless_pass_by_value,
|
16 |
clippy::new_without_default,
|
17 |
clippy::nonminimal_bool,
|
14 |
clippy::needless_pass_by_value,
|
15 |
clippy::new_without_default,
|
16 |
clippy::nonminimal_bool,
|
1 |
#![allow(clippy::new_without_default)]
|
65 |
#![allow(clippy::missing_safety_doc)]
|
66 |
#![allow(clippy::new_without_default)]
|
67 |
#![allow(clippy::needless_return)]
|
7 |
clippy::new_ret_no_self,
|
8 |
clippy::new_without_default,
|
9 |
clippy::try_err,
|
3 |
clippy::should_implement_trait,
|
4 |
clippy::new_without_default,
|
5 |
clippy::type_complexity
|
51 |
clippy::must_use_candidate,
|
52 |
clippy::new_without_default,
|
53 |
clippy::octal_escapes,
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
5 |
clippy::too_many_arguments
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
5 |
clippy::too_many_arguments
|
13 |
#![doc(hidden)]
|
14 |
#![allow(clippy::new_without_default)]
|
13 |
#![doc(hidden)]
|
14 |
#![allow(clippy::new_without_default)]
|
29 |
#![warn(rustdoc::broken_intra_doc_links)]
|
30 |
#![allow(clippy::new_without_default)]
|
31 |
#![deny(clippy::trivially_copy_pass_by_ref)]
|
5 |
#![allow(clippy::manual_range_contains)]
|
6 |
#![allow(clippy::new_without_default)]
|
10 |
#![allow(dead_code)]
|
11 |
#![allow(clippy::new_without_default)]
|
12 |
#![allow(clippy::type_complexity)]
|
2 |
#![cfg_attr(all(feature = "nightly", target_arch = "xtensa"), feature(asm_experimental_arch))]
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
#![doc = include_str!("../README.md")]
|
2 |
#![cfg_attr(feature = "nightly", feature(type_alias_impl_trait))]
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
#![doc = include_str!("../README.md")]
|
3 |
#![doc = include_str!("../README.md")]
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![warn(missing_docs)]
|
78 |
//! dependency
|
79 |
#![allow(clippy::type_complexity, clippy::new_without_default)]
|
13 |
// Clippy warnings
|
14 |
#![allow(clippy::new_without_default)]
|
15 |
#![allow(clippy::len_without_is_empty)]
|
1 |
#![no_std]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::single_match)]
|
27 |
#![allow(clippy::cognitive_complexity)]
|
28 |
#![allow(clippy::new_without_default)]
|
3 |
#![deny(unused_results)]
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
// Denied in CI
|
1 |
#![allow(
|
2 |
clippy::new_without_default,
|
3 |
clippy::needless_arbitrary_self_type,
|
10 |
#![deny(warnings, missing_docs, clippy::all, broken_intra_doc_links)]
|
11 |
#![allow(clippy::needless_doctest_main, clippy::new_without_default)]
|
12 |
//! Provides [FacebookInit] structure that must be used in Facebook code that
|
124 |
#![allow(clippy::new_without_default)]
|
125 |
#![forbid(unsafe_code)]
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use std::iter::repeat;
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use core::iter::repeat;
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use std::iter::repeat;
|
23 |
#![allow(clippy::from_over_into)]
|
24 |
#![allow(clippy::new_without_default)]
|
25 |
#![allow(clippy::type_complexity)]
|
1 |
#![allow(clippy::new_without_default)]
|
8 |
clippy::needless_collect,
|
9 |
clippy::new_without_default,
|
10 |
clippy::non_ascii_literal,
|
89 |
#![warn(clippy::all)]
|
90 |
#![allow(clippy::new_without_default)]
|
59 |
// std does not have ones.
|
60 |
#![allow(clippy::new_without_default, clippy::len_without_is_empty)]
|
60 |
clippy::too_many_arguments,
|
61 |
clippy::new_without_default
|
62 |
)]
|
9 |
#![allow(clippy::from_over_into)]
|
10 |
#![allow(clippy::new_without_default)]
|
1 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
18 |
//! value, but does not represent a full line of code.
|
19 |
#![allow(clippy::new_without_default)]
|
77 |
clippy::cast_possible_truncation,
|
78 |
clippy::new_without_default
|
79 |
)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(clippy::new_without_default)]
|
8 |
#![deny(clippy::cloned_instead_of_copied)]
|
105 |
clippy::missing_safety_doc,
|
106 |
clippy::new_without_default,
|
107 |
clippy::len_zero,
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![cfg_attr(not(feature = "std"), no_std)]
|
2 |
#![allow(clippy::new_without_default)]
|
22 |
#![allow(clippy::new_without_default)]
|
23 |
#![allow(clippy::new_without_default)]
|
24 |
#![allow(clippy::cast_lossless)]
|
8 |
// SPDX-License-Identifier: MPL-2.0
|
9 |
#![allow(clippy::new_without_default)]
|
8 |
// SPDX-License-Identifier: MPL-2.0
|
9 |
#![allow(clippy::new_without_default)]
|
1 |
// Refs are random, and so implementing Default doesn't really make sense.
|
2 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::needless_borrow)]
|
2 |
clippy::too_many_arguments,
|
3 |
clippy::new_without_default,
|
4 |
clippy::type_complexity
|
17 |
#![allow(clippy::should_implement_trait)]
|
18 |
#![allow(clippy::new_without_default)]
|
19 |
#![allow(clippy::inherent_to_string)]
|
3 |
// default implementations don't always make sense...
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![deny(missing_docs)]
|
2 |
#![warn(clippy::all)]
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
#![allow(clippy::type_complexity)]
|
97 |
#![warn(missing_docs)]
|
98 |
#![allow(clippy::new_without_default)]
|
99 |
#![cfg_attr(backtrace, feature(backtrace))]
|
3 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::new_without_default)]
|
53 |
#![ allow (clippy::unused_unit) ]
|
54 |
#![ allow (clippy::new_without_default) ]
|
75 |
#![allow(clippy::new_without_default)]
|
76 |
#![allow(clippy::suspicious_else_formatting)]
|
3 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)] // WASM does not call default()
|
1 |
#![allow(clippy::new_without_default)] // WASM does not call default()
|
2 |
#![warn(missing_docs)]
|
1 |
#![allow(clippy::new_without_default)] // WASM does not call default()
|
2 |
#![warn(missing_docs)]
|
1 |
#![allow(clippy::new_without_default, clippy::too_many_arguments)]
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::type_complexity)]
|
1 |
#![allow(clippy::type_complexity)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::identity_op)]
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::type_complexity)]
|
3 |
// Allowed because useless default implementations are dead lines of code.
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
// Allowed because the key "" is a canonically valid key, and comparing a key to "" is more
|
3 |
// Allowed because useless default implementations are dead lines of code.
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
// Allowed because the key "" is a canonically valid key, and comparing a key to "" is more
|
8 |
#![allow(clippy::new_without_default)]
|
14 |
clippy::too_many_arguments,
|
15 |
clippy::new_without_default
|
16 |
)]
|
14 |
clippy::too_many_arguments,
|
15 |
clippy::new_without_default
|
16 |
)]
|
14 |
clippy::too_many_arguments,
|
15 |
clippy::new_without_default
|
16 |
)]
|
1 |
#![allow(clippy::type_complexity, clippy::new_without_default, dead_code)]
|
2 |
mod app;
|
27 |
#![deny(missing_docs)]
|
28 |
#![allow(clippy::new_without_default)]
|
29 |
#![allow(clippy::new_without_default_derive)]
|
30 |
#![allow(clippy::float_cmp)]
|
57 |
#![allow(unused_parens, clippy::new_without_default)]
|
58 |
#![forbid(unsafe_code)]
|
69 |
#![allow(clippy::match_ref_pats)]
|
70 |
#![allow(clippy::new_without_default)]
|
71 |
#![cfg_attr(nightly, feature(never_type))]
|
3 |
// default implementations don't always make sense...
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![deny(missing_docs)]
|
3 |
// default implementations don't always make sense...
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![deny(missing_docs)]
|
3 |
// default implementations don't always make sense...
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![deny(missing_docs)]
|
208 |
#![allow(clippy::needless_doctest_main)]
|
209 |
#![allow(clippy::new_without_default)]
|
210 |
#![allow(clippy::redundant_closure)]
|
21 |
clippy::needless_range_loop,
|
22 |
clippy::new_without_default,
|
23 |
clippy::should_implement_trait,
|
97 |
#![warn(missing_docs)]
|
98 |
#![allow(clippy::new_without_default)]
|
99 |
#![cfg_attr(backtrace, feature(backtrace))]
|
1 |
#![allow(clippy::mutex_atomic)] // Avoid clippy warning about JITS_MADE
|
2 |
#![allow(clippy::new_without_default)] // Avoid clippy warning about Jit::new
|
7 |
#![warn(missing_docs)]
|
8 |
#![allow(clippy::new_without_default)]
|
9 |
#![allow(clippy::should_implement_trait)]
|
3 |
#![allow(clippy::new_without_default)]
|
38 |
*/
|
39 |
#![allow(clippy::new_without_default)]
|
4 |
#![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))]
|
5 |
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
6 |
#![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))]
|
127 |
clippy::semicolon_if_nothing_returned,
|
128 |
clippy::new_without_default,
|
129 |
clippy::from_over_into,
|
1 |
#![warn(clippy::all, clippy::pedantic)]
|
2 |
#![allow(clippy::new_without_default, clippy::new_without_default)]
|
3 |
#![allow(clippy::useless_attribute, clippy::missing_docs_in_private_items)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::wrong_self_convention)]
|
8 |
#![allow(clippy::new_without_default)]
|
9 |
#![allow(clippy::type_complexity)]
|
3 |
#![allow(clippy::needless_doctest_main)]
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![allow(clippy::range_plus_one)]
|
7 |
#![deny(clippy::perf, clippy::complexity, clippy::cargo)]
|
8 |
#![allow(clippy::new_without_default)]
|
1 |
// take care of these later ...
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::needless_lifetimes)]
|
4 |
#![allow(clippy::new_without_default)]
|
17 |
#![allow(clippy::new_without_default)]
|
85 |
#![allow(clippy::new_without_default)]
|
86 |
#![allow(clippy::wrong_self_convention)]
|
24 |
#![allow(clippy::manual_memcpy)]
|
25 |
#![allow(clippy::new_without_default)]
|
25 |
#![allow(clippy::manual_memcpy)]
|
26 |
#![allow(clippy::new_without_default)]
|
27 |
pub mod arch;
|
24 |
#![allow(clippy::manual_memcpy)]
|
25 |
#![allow(clippy::new_without_default)]
|
26 |
pub mod arch;
|
24 |
#![allow(clippy::manual_memcpy)]
|
25 |
#![allow(clippy::new_without_default)]
|
26 |
pub mod arch;
|
3 |
feature = "cargo-clippy",
|
4 |
allow(bool_comparison, new_without_default_derive)
|
5 |
)]
|
3 |
feature = "cargo-clippy",
|
4 |
allow(bool_comparison, new_without_default_derive)
|
5 |
)]
|
5 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::new_without_default)]
|
188 |
#![allow(
|
189 |
clippy::new_without_default,
|
190 |
clippy::unneeded_field_pattern,
|
26 |
//!
|
27 |
#![allow(clippy::new_without_default)]
|
28 |
#![allow(clippy::inconsistent_struct_constructor)]
|
26 |
//!
|
27 |
#![allow(clippy::new_without_default)]
|
28 |
#![allow(clippy::inconsistent_struct_constructor)]
|
19 |
#![allow(clippy::type_complexity)]
|
20 |
#![allow(clippy::new_without_default)]
|
21 |
#![allow(clippy::collapsible_if)]
|
1 |
#![allow(clippy::let_unit_value)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::manual_range_contains)]
|
1 |
#![allow(clippy::type_complexity)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::identity_op)]
|
23 |
#![allow(clippy::new_without_default)]
|
2 |
clippy::redundant_field_names,
|
3 |
clippy::new_without_default,
|
4 |
clippy::large_enum_variant,
|
25 |
#![allow(
|
26 |
clippy::new_without_default,
|
27 |
clippy::indexing_slicing,
|
56 |
clippy::new_ret_no_self,
|
57 |
clippy::new_without_default,
|
58 |
clippy::redundant_field_names
|
20 |
clippy::too_many_arguments,
|
21 |
clippy::new_without_default
|
22 |
)]
|
13 |
#![allow(clippy::tabs_in_doc_comments)]
|
14 |
#![allow(clippy::new_without_default)]
|
36 |
#![allow(unused_parens, clippy::new_without_default, clippy::needless_update)]
|
18 |
#![allow(clippy::transmute_ptr_to_ptr)]
|
19 |
#![allow(clippy::new_without_default_derive)]
|
20 |
#![allow(clippy::should_implement_trait)]
|
131 |
#![doc(html_root_url = "https://docs.rs/phf_codegen/0.11")]
|
132 |
#![allow(clippy::new_without_default)]
|
11 |
// No need for defaults in the internal types.
|
12 |
clippy::new_without_default,
|
13 |
// For some reason `rustc` can warn about these in const generics even
|
1 |
#![allow(clippy::new_without_default)]
|
12 |
// No need for defaults in the internal types.
|
13 |
clippy::new_without_default,
|
14 |
// For some reason `rustc` can warn about these in const generics even
|
4 |
#![warn(unsafe_op_in_unsafe_fn)]
|
5 |
#![allow(clippy::new_without_default)]
|
6 |
#![allow(clippy::should_implement_trait)]
|
1 |
#![allow(incomplete_features)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::too_many_arguments)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::too_many_arguments)]
|
2 |
#![allow(clippy::redundant_closure)]
|
3 |
#![allow(clippy::new_without_default)]
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
5 |
clippy::too_many_arguments
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
5 |
clippy::too_many_arguments
|
42 |
impl Etag {
|
43 |
#![allow(clippy::new_without_default)]
|
44 |
pub fn new() -> Self {
|
44 |
#![deny(missing_docs)]
|
45 |
#![allow(clippy::new_without_default)]
|
46 |
#![allow(clippy::comparison_chain)]
|
118 |
clippy::needless_pass_by_value,
|
119 |
clippy::new_without_default,
|
120 |
clippy::new_ret_no_self
|
118 |
clippy::needless_pass_by_value,
|
119 |
clippy::new_without_default,
|
120 |
clippy::new_ret_no_self
|
10 |
clippy::needless_pass_by_value,
|
11 |
clippy::new_without_default,
|
12 |
clippy::redundant_pub_crate,
|
10 |
clippy::needless_pass_by_value,
|
11 |
clippy::new_without_default,
|
12 |
clippy::redundant_pub_crate,
|
5 |
#![warn(clippy::unwrap_used)]
|
6 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
// for most cases.
|
3 |
#![allow(clippy::new_without_default)]
|
1 |
// Refs are random, and so implementing Default doesn't really make sense.
|
2 |
#![allow(clippy::new_without_default)]
|
328 |
clippy::needless_pass_by_value,
|
329 |
clippy::new_without_default,
|
330 |
clippy::return_self_not_must_use,
|
40 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::type_complexity, clippy::new_without_default, dead_code)]
|
2 |
mod app;
|
5 |
clippy::too_many_arguments,
|
6 |
clippy::new_without_default,
|
7 |
clippy::borrow_interior_mutable_const
|
78 |
//! dependency
|
79 |
#![allow(clippy::type_complexity, clippy::new_without_default)]
|
47 |
#![allow(
|
48 |
clippy::new_without_default,
|
49 |
clippy::must_use_candidate,
|
1 |
#![allow(unused_parens, clippy::new_without_default)]
|
2 |
#![forbid(unsafe_code)]
|
9 |
#![allow(clippy::from_over_into)]
|
10 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
extern crate bunt;
|
1 |
// TODO: Remove this clippy fix
|
2 |
#![allow(clippy::new_without_default)]
|
1 |
// Default doesn't make sense for a type whose constructor is random.
|
2 |
#![allow(clippy::new_without_default)]
|
14 |
#![warn(clippy::all)]
|
15 |
#![allow(clippy::new_without_default)]
|
288 |
clippy::single_component_path_imports,
|
289 |
clippy::new_without_default
|
290 |
)]
|
38 |
#![allow(clippy::new_without_default, clippy::missing_safety_doc)]
|
1 |
#![warn(missing_docs)]
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::upper_case_acronyms)]
|
4 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::cast_lossless, clippy::cognitive_complexity, clippy::new_without_default)]
|
6 |
clippy::useless_format,
|
7 |
clippy::new_without_default,
|
8 |
clippy::cognitive_complexity,
|
13 |
#![doc(hidden)]
|
14 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::upper_case_acronyms)]
|
63 |
#![warn(clippy::all)]
|
64 |
#![allow(clippy::new_without_default)]
|
54 |
#![warn(clippy::all)]
|
55 |
#![allow(clippy::new_without_default)]
|
8 |
#![warn(clippy::all)]
|
9 |
#![allow(clippy::new_without_default)]
|
10 |
#![warn(clippy::all)]
|
11 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
8 |
#![warn(clippy::all)]
|
9 |
#![allow(clippy::new_without_default)]
|
18 |
#![warn(clippy::all)]
|
19 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
44 |
#![warn(clippy::all)]
|
45 |
#![allow(clippy::new_without_default)]
|
46 |
#![allow(unused_variables, dead_code)]
|
7 |
#![warn(clippy::all)]
|
8 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
9 |
#![warn(clippy::all)]
|
10 |
#![allow(clippy::new_without_default)]
|
10 |
#![warn(clippy::all)]
|
11 |
#![allow(clippy::new_without_default)]
|
3 |
#![allow(clippy::into_iter_on_array)]
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
#![allow(clippy::new_without_default_derive)]
|
6 |
#![allow(clippy::unreadable_literal)]
|
15 |
#![deny(rust_2018_idioms)]
|
16 |
#![allow(clippy::type_complexity, clippy::new_without_default)]
|
17 |
#![recursion_limit = "256"]
|
78 |
//! dependency
|
79 |
#![allow(clippy::type_complexity, clippy::new_without_default)]
|
1 |
#![allow(clippy::type_complexity, clippy::new_without_default, dead_code)]
|
2 |
mod app;
|
5 |
clippy::too_many_arguments,
|
6 |
clippy::new_without_default,
|
7 |
clippy::borrow_interior_mutable_const
|
56 |
#![allow(unused_parens, clippy::new_without_default, clippy::needless_update)]
|
57 |
#![forbid(unsafe_code)]
|
130 |
map_err_ignore,
|
131 |
new_without_default,
|
132 |
result_unit_err,
|
62 |
clippy::must_use_candidate,
|
63 |
clippy::new_without_default
|
64 |
)]
|
45 |
clippy::inline_always,
|
46 |
clippy::new_without_default,
|
47 |
clippy::boxed_local
|
10 |
clippy::manual_range_contains,
|
11 |
clippy::new_without_default,
|
12 |
clippy::too_many_arguments,
|
10 |
clippy::manual_range_contains,
|
11 |
clippy::new_without_default,
|
12 |
clippy::too_many_arguments,
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use crate::errors::SicImageEngineError;
|
5 |
#![allow(clippy::new_without_default)]
|
81 |
#![allow(clippy::new_without_default)]
|
5 |
#![allow(clippy::new_without_default)]
|
26 |
#![warn(missing_docs, missing_debug_implementations)]
|
27 |
#![allow(clippy::new_without_default)]
|
13 |
#![doc(hidden)]
|
14 |
#![allow(clippy::new_without_default)]
|
167 |
#![warn(clippy::all)]
|
168 |
#![allow(clippy::new_without_default)]
|
169 |
#![allow(clippy::too_many_arguments)]
|
1 |
#![allow(clippy::new_without_default)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use crate::cfg::Config;
|
382 |
#![allow(clippy::match_like_matches_macro)]
|
383 |
#![allow(clippy::new_without_default)]
|
384 |
#![allow(clippy::type_complexity)]
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
#![allow(clippy::should_implement_trait)]
|
7 |
#![warn(missing_docs)]
|
8 |
#![allow(clippy::new_without_default)]
|
9 |
#![allow(clippy::should_implement_trait)]
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
// right place for it to take effect
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
use crate::color::ColorAttribute;
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::enum_variant_names)]
|
97 |
#![warn(missing_docs)]
|
98 |
#![allow(clippy::new_without_default)]
|
99 |
#![cfg_attr(backtrace, feature(backtrace))]
|
91 |
#![allow(clippy::module_name_repetitions)]
|
92 |
#![allow(clippy::new_without_default)]
|
93 |
use std::cell::UnsafeCell;
|
3 |
// new is just more readable than ..Default::default().
|
4 |
#![allow(clippy::new_without_default)]
|
5 |
// the matches! macro is obscure and not widely known.
|
5 |
#![allow(clippy::new_without_default)]
|
78 |
#![allow(clippy::new_without_default)]
|
79 |
#![allow(clippy::wrong_self_convention)]
|
3 |
#![allow(dead_code)]
|
4 |
#![allow(clippy::new_without_default)]
|
15 |
clippy::if_same_then_else,
|
16 |
clippy::new_without_default,
|
17 |
clippy::needless_bool,
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
use super::{ColorMask, Display, Driver, FeatureFlags, Renderer};
|
1 |
#![allow(clippy::new_without_default)]
|
34 |
#![must_use]
|
35 |
#![allow(clippy::new_without_default)]
|
12 |
#![allow(clippy::large_enum_variant)] // large project
|
13 |
#![allow(clippy::new_without_default)] // explicit is maybe clearer
|
14 |
#![allow(clippy::redundant_closure)] // closures can be less verbose
|
74 |
clippy::mutable_key_type,
|
75 |
clippy::new_without_default,
|
76 |
clippy::nonminimal_bool,
|
13 |
#![doc(hidden)]
|
14 |
#![allow(clippy::new_without_default)]
|
3 |
clippy::useless_conversion,
|
4 |
clippy::new_without_default,
|
5 |
clippy::new_ret_no_self,
|
3 |
clippy::useless_conversion,
|
4 |
clippy::new_without_default,
|
5 |
clippy::new_ret_no_self,
|
5 |
clippy::module_inception,
|
6 |
clippy::new_without_default,
|
7 |
clippy::too_many_arguments,
|
5 |
clippy::module_inception,
|
6 |
clippy::new_without_default,
|
7 |
clippy::too_many_arguments,
|
1 |
#![allow(clippy::new_without_default)]
|
18 |
// No need for defaults in the internal types.
|
19 |
clippy::new_without_default,
|
20 |
// Needless updates are more scaleable, easier to play with features.
|
29 |
// No need for defaults in the internal types.
|
30 |
clippy::new_without_default,
|
31 |
// Matches are good and extendable, no need to make an exception here.
|
19 |
#![no_std]
|
20 |
#![allow(clippy::new_without_default)]
|
1 |
//! Active Control register. Activate or deactivate digital audio interface.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Analogue Audio Path Control.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Digital Audio Interface Format.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Digital Audio Path Control.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Left and Right Headphone Out.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Left and Right Line In.
|
2 |
#![allow(clippy::new_without_default)]
|
1 |
//! Power Down Control.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Reset register. Reset the device.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
//! Sampling Control.
|
2 |
#![allow(clippy::new_without_default)]
|
3 |
use crate::interface::Frame;
|
1 |
#![allow(clippy::new_without_default)]
|
2 |
#![allow(clippy::or_fun_call)]
|
77 |
#![allow(clippy::new_without_default)]
|
78 |
#![allow(clippy::wrong_self_convention)]
|
89 |
#![warn(clippy::all)]
|
90 |
#![allow(clippy::new_without_default)]
|
25 |
clippy::needless_pass_by_value,
|
26 |
clippy::new_without_default,
|
27 |
clippy::or_fun_call,
|
21 |
clippy::needless_range_loop,
|
22 |
clippy::new_without_default,
|
23 |
clippy::should_implement_trait,
|
14 |
#![cfg_attr(feature = "benchmarks", feature(test))]
|
15 |
#![allow(clippy::identity_op, clippy::new_without_default, clippy::trivially_copy_pass_by_ref)]
|
2 |
#![allow(non_camel_case_types)]
|
3 |
#![allow(clippy::new_without_default)]
|
4 |
#![allow(dead_code)]
|
8 |
#![deny(clippy::all)]
|
9 |
#![allow(clippy::new_without_default)] // simply do not agree with this
|
1 |
#![allow(clippy::new_without_default, clippy::collapsible_else_if)]
|
2 |
#![deny(missing_docs)]
|
1 |
#![allow(clippy::new_without_default)]
|
3 |
// out our Response type even if it's unit.
|
4 |
clippy::new_without_default,
|
5 |
)]
|