86 |
/// thread.
|
87 |
#[allow(clippy::range_plus_one, clippy::missing_panics_doc)]
|
88 |
pub async fn run(&self) -> Result<(), AcceptXmrError> {
|
127 |
#[allow(clippy::missing_panics_doc)]
|
128 |
/// Evaluate an RPN sequence in the current context
|
65 |
#[allow(clippy::missing_panics_doc)]
|
66 |
pub fn set<V>(&self, value: V)
|
99 |
#[allow(clippy::missing_panics_doc)]
|
100 |
pub fn add_listener<V>(&self, listener_id: ListenerId)
|
228 |
#[allow(clippy::missing_panics_doc)]
|
229 |
impl<V> Notify<V>
|
180 |
#[allow(clippy::missing_panics_doc)]
|
181 |
pub fn has_child(&self, node_id: &K, child_id: &K) -> bool {
|
181 |
/// Add a security scheme.
|
182 |
#[allow(clippy::missing_panics_doc)]
|
183 |
pub fn security_scheme(mut self, name: &str, scheme: SecurityScheme) -> Self {
|
223 |
#[tracing::instrument(skip_all)]
|
224 |
#[allow(clippy::missing_panics_doc)]
|
225 |
pub fn security_requirement_scopes<I, S>(mut self, security_scheme: &str, scopes: I) -> Self
|
373 |
#[tracing::instrument(skip_all)]
|
374 |
#[allow(clippy::missing_panics_doc)]
|
375 |
pub fn security_requirement_scopes<I, S>(self, security_scheme: &str, scopes: I) -> Self
|
532 |
#[tracing::instrument(skip_all, fields(operation_id = ?self.operation.operation_id))]
|
533 |
#[allow(clippy::missing_panics_doc)]
|
534 |
pub fn default_response<R>(mut self) -> Self
|
563 |
#[tracing::instrument(skip_all, fields(operation_id = ?self.operation.operation_id))]
|
564 |
#[allow(clippy::missing_panics_doc)]
|
565 |
pub fn default_response_with<R, F>(mut self, transform: F) -> Self
|
350 |
/// [`UPDATE_INTERVAL`]: constant.UPDATE_INTERVAL.html
|
351 |
#[allow(clippy::missing_panics_doc)]
|
352 |
pub fn init(&self) -> Result<()> {
|
61 |
#[allow(clippy::missing_panics_doc)]
|
62 |
pub fn criterion_benchmark(c: &mut Criterion) {
|
88 |
/// Prefer using this method if the wrapped type implements [`PartialEq`].
|
89 |
#[allow(clippy::missing_panics_doc)] // false positive; `unwrap()`s never panic
|
90 |
pub fn new<T>(value: T) -> Self
|
114 |
/// Prefer [`Self::new()`] when possible.
|
115 |
#[allow(clippy::missing_panics_doc)] // false positive; `unwrap()`s never panic
|
116 |
pub fn with_identity_eq<T>(value: T) -> Self
|
61 |
/// Creates an iterator over contained values and the corresponding names.
|
62 |
#[allow(clippy::missing_panics_doc)] // false positive; `unwrap()` never panics
|
63 |
pub fn iter<T: Clone>(self) -> impl Iterator<Item = (&'static str, Value<'static, T>)> {
|
97 |
/// Creates an iterator over contained values and the corresponding names.
|
98 |
#[allow(clippy::missing_panics_doc)] // false positive; `unwrap()` never panics
|
99 |
pub fn iter<T: fmt::Display>(self) -> impl Iterator<Item = (&'static str, Value<'static, T>)> {
|
137 |
/// Creates an iterator over contained values and the corresponding names.
|
138 |
#[allow(clippy::missing_panics_doc)] // false positive; `unwrap()` never panics
|
139 |
pub fn iter<T>(self) -> impl Iterator<Item = (&'static str, Value<'static, T>)> {
|
142 |
/// Marks `len` as static, i.e., not containing [`UnknownLen::Dynamic`] components.
|
143 |
#[allow(clippy::missing_panics_doc)]
|
144 |
pub fn apply_static_len(&mut self, len: TupleLen) -> Result<(), ErrorKind<Prim>> {
|
6 |
// Executor for a future that resolves immediately (test only).
|
7 |
#[allow(clippy::missing_panics_doc)]
|
8 |
pub fn block_on_simple<F: Future>(mut fut: F) -> F::Output {
|
6 |
// Executor for a future that resolves immediately (test only).
|
7 |
#[allow(clippy::missing_panics_doc)]
|
8 |
pub fn block_on_simple<F: Future>(mut fut: F) -> F::Output {
|
72 |
#[allow(dead_code)] // Silence dead code warning because we do not use this function in the C frontend.
|
73 |
#[allow(clippy::missing_panics_doc)]
|
74 |
pub fn waveforms_from_files(
|
27 |
#[allow(clippy::missing_panics_doc)]
|
28 |
#[inline]
|
49 |
impl SymphoniaDecoder {
|
50 |
#[allow(clippy::missing_panics_doc)]
|
51 |
pub fn from_encoded_stream_with_hint<R: 'static + Read + Send + Sync>(
|
159 |
#[cfg(feature = "enable-filesystem")]
|
160 |
#[allow(clippy::missing_panics_doc)]
|
161 |
pub fn from_file<F: Clone + AsRef<Path>>(filename: F) -> Result<Self, Error> {
|
61 |
#[allow(clippy::missing_safety_doc)]
|
62 |
#[allow(clippy::missing_panics_doc)]
|
63 |
#[no_mangle]
|
74 |
#[allow(clippy::missing_safety_doc)]
|
75 |
#[allow(clippy::missing_panics_doc)]
|
76 |
#[no_mangle]
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
#[allow(clippy::missing_panics_doc)]
|
44 |
#[no_mangle]
|
64 |
#[allow(clippy::missing_safety_doc)]
|
65 |
#[allow(clippy::missing_panics_doc)]
|
66 |
#[no_mangle]
|
110 |
#[allow(clippy::missing_safety_doc)]
|
111 |
#[allow(clippy::missing_panics_doc)]
|
112 |
#[no_mangle]
|
163 |
#[allow(clippy::missing_safety_doc)]
|
164 |
#[allow(clippy::missing_panics_doc)]
|
165 |
#[no_mangle]
|
54 |
#[must_use]
|
55 |
#[allow(clippy::missing_panics_doc)]
|
56 |
#[allow(clippy::match_same_arms)]
|
188 |
/// <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control>
|
189 |
#[allow(clippy::missing_panics_doc)]
|
190 |
#[must_use]
|
201 |
/// <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control>
|
202 |
#[allow(clippy::missing_panics_doc)]
|
203 |
#[must_use]
|
25 |
#[must_use]
|
26 |
#[allow(clippy::missing_panics_doc)]
|
27 |
pub fn is_empty(&self) -> bool {
|
36 |
#[must_use]
|
37 |
#[allow(clippy::missing_panics_doc)]
|
38 |
pub fn len(&self) -> Option<u64> {
|
23 |
#[allow(clippy::missing_panics_doc)]
|
24 |
#[allow(clippy::match_same_arms)]
|
146 |
#[allow(clippy::missing_panics_doc)]
|
147 |
pub fn balance(&mut self) {
|
34 |
#[must_use]
|
35 |
#[allow(clippy::missing_panics_doc)]
|
36 |
pub fn new(size: usize) -> Self {
|
44 |
#[allow(clippy::missing_panics_doc)]
|
45 |
pub async fn async_wait_token(&mut self) -> Token {
|
50 |
#[must_use]
|
51 |
#[allow(clippy::missing_panics_doc)]
|
52 |
pub fn wait_token(&self) -> Token {
|
123 |
/// System to play queued spatial audio in [`Audio`].
|
124 |
#[allow(clippy::needless_pass_by_value, clippy::missing_panics_doc)]
|
125 |
pub fn play_queued_spatial_audio<Source>(
|
157 |
/// System to play queued spatial buffered audio in [`Audio`].
|
158 |
#[allow(clippy::needless_pass_by_value, clippy::missing_panics_doc)]
|
159 |
pub fn play_queued_spatial_buffered_audio<Source>(
|
97 |
/// System to play queued audio in [`Audio`].
|
98 |
#[allow(clippy::needless_pass_by_value, clippy::missing_panics_doc)]
|
99 |
pub fn play_queued_audio<const N: usize, F, Source>(
|
185 |
/// Consumes the builder and returns [`StreamConfig`](StreamConfig)
|
186 |
#[allow(clippy::missing_panics_doc)]
|
187 |
pub fn build(self) -> StreamConfig {
|
93 |
impl Packet {
|
94 |
#[allow(clippy::missing_panics_doc)]
|
95 |
#[must_use]
|
22 |
/// Get the next server.
|
23 |
#[allow(clippy::missing_panics_doc)]
|
24 |
pub fn get(&mut self) -> &str {
|
135 |
// must be expressed this way due to borrowck limitations
|
136 |
#[allow(clippy::missing_panics_doc)]
|
137 |
pub fn downcast<T: CustomError + 'static>(self: Box<Self>) -> Result<Box<T>, Box<Self>> {
|
206 |
#[allow(clippy::too_many_lines)]
|
207 |
#[allow(clippy::missing_panics_doc)]
|
208 |
/// # Errors
|
286 |
#[must_use]
|
287 |
#[allow(clippy::missing_panics_doc)] // Unwrap is impossible to fail.
|
288 |
pub fn from_u64(id: u64) -> Self {
|
295 |
#[must_use]
|
296 |
#[allow(clippy::missing_panics_doc)] // Unwrap is impossible to fail.
|
297 |
pub fn from_u32(id: u32) -> Self {
|
85 |
/// If no change is made, None will be returned.
|
86 |
#[allow(clippy::missing_panics_doc)]
|
87 |
pub fn returning_previous(self) -> Result<Option<Value>, Error> {
|
117 |
/// If no change is made, None will be returned.
|
118 |
#[allow(clippy::missing_panics_doc)]
|
119 |
pub fn returning_previous_as<OtherV: for<'de> Deserialize<'de>>(
|
238 |
/// If no change is made, None will be returned.
|
239 |
#[allow(clippy::missing_panics_doc)]
|
240 |
pub async fn returning_previous(self) -> Result<Option<Value>, Error> {
|
276 |
/// If no change is made, None will be returned.
|
277 |
#[allow(clippy::missing_panics_doc)]
|
278 |
pub async fn returning_previous_as<OtherV: for<'de> Deserialize<'de>>(
|
140 |
/// Returns any error returned by `f`.
|
141 |
#[allow(clippy::missing_panics_doc)]
|
142 |
pub fn get(&self, f: impl FnOnce() -> Result<i64, String>) -> Result<i64, String> {
|
168 |
/// ```
|
169 |
#[allow(clippy::missing_panics_doc)]
|
170 |
#[must_use]
|
249 |
/// Gets the current time as an epoch timestamp.
|
250 |
#[allow(clippy::missing_panics_doc)]
|
251 |
#[must_use]
|
407 |
/// Returns an error if it fails to parse `version`.
|
408 |
#[allow(clippy::missing_panics_doc)]
|
409 |
pub fn parse_rustc_semver(version: impl AsRef<str>) -> Result<String, String> {
|
417 |
/// Returns an error if it fails to parse `version`.
|
418 |
#[allow(clippy::missing_panics_doc)]
|
419 |
pub fn parse_rustc_channel(version: impl AsRef<str>) -> Result<RustChannel, String> {
|
102 |
/// ```
|
103 |
#[allow(clippy::missing_panics_doc)]
|
104 |
#[must_use]
|
115 |
/// Gets the number of seconds since 1970-01-01T00:00:00Z.
|
116 |
#[allow(clippy::missing_panics_doc)]
|
117 |
#[must_use]
|
126 |
/// Example: `2021-04-14T06:25:59+00:00`
|
127 |
#[allow(clippy::missing_panics_doc)]
|
128 |
#[must_use]
|
57 |
#[must_use]
|
58 |
#[allow(clippy::missing_panics_doc)]
|
59 |
pub fn new() -> Self {
|
271 |
impl NodeData {
|
272 |
#[allow(clippy::missing_panics_doc)]
|
273 |
#[must_use]
|
95 |
#[allow(clippy::missing_panics_doc)]
|
96 |
#[must_use]
|
445 |
/// `Rank`, the higher the weight each `Card` is given.
|
446 |
#[allow(clippy::missing_panics_doc)]
|
447 |
#[must_use]
|
608 |
#[allow(clippy::missing_panics_doc)]
|
609 |
#[must_use]
|
46 |
/// feature is disabled.
|
47 |
#[allow(clippy::missing_panics_doc)]
|
48 |
pub async fn change_password(
|
233 |
#[cfg(feature = "faster-hex")]
|
234 |
#[allow(unsafe_code, clippy::missing_panics_doc)]
|
235 |
#[must_use]
|
15 |
#[cfg_attr(feature = "docsrs", doc(cfg(feature = "ctdb")))]
|
16 |
#[allow(clippy::missing_panics_doc)]
|
17 |
#[must_use]
|
9 |
impl Toc {
|
10 |
#[allow(clippy::cast_possible_truncation, clippy::missing_panics_doc)]
|
11 |
#[cfg_attr(feature = "docsrs", doc(cfg(feature = "musicbrainz")))]
|
105 |
/// Returns references to the children, or `None` if the node is a leaf node or it only has one child. To retreive the left child even if the right one is not present, see `left_child`.
|
106 |
#[allow(clippy::missing_panics_doc)]
|
107 |
pub fn children(&self) -> Option<(Self, Self)> {
|
139 |
/// [`children`]: #method.children " "
|
140 |
#[allow(clippy::missing_panics_doc)]
|
141 |
pub fn left_child(&self) -> Option<Self> {
|
163 |
/// [`children`]: #method.children " "
|
164 |
#[allow(clippy::missing_panics_doc)]
|
165 |
pub fn right_child(&self) -> Option<Self> {
|
132 |
/// Returns a *mutable* reference to the left child, or `None` if the node is a leaf node.
|
133 |
#[allow(clippy::missing_panics_doc)]
|
134 |
pub fn left_child_mut(&mut self) -> Option<NodeRefMut<'_, B, L, K, S>> {
|
156 |
/// Returns a *mutable* reference to the right child, or `None` if the node is a leaf node.
|
157 |
#[allow(clippy::missing_panics_doc)]
|
158 |
pub fn right_child_mut(&mut self) -> Option<NodeRefMut<'_, B, L, K, S>> {
|
99 |
/// Returns references to the children, or `None` if the node is a leaf node.
|
100 |
#[allow(clippy::missing_panics_doc)]
|
101 |
pub fn children(&self) -> Option<[Self; 8]> {
|
114 |
/// Returns references to the children, or `None` if the node is a leaf node.
|
115 |
#[allow(clippy::missing_panics_doc)]
|
116 |
pub fn children(&self) -> Option<[NodeRef<'_, B, L, K, S>; 8]> {
|
99 |
/// Returns references to the children, or `None` if the node is a leaf node.
|
100 |
#[allow(clippy::missing_panics_doc)]
|
101 |
pub fn children(&self) -> Option<[Self; 4]> {
|
114 |
/// Returns references to the children, or `None` if the node is a leaf node.
|
115 |
#[allow(clippy::missing_panics_doc)]
|
116 |
pub fn children(&self) -> Option<[NodeRef<'_, B, L, K, S>; 4]> {
|
11 |
/// Send the signal to shutdown the program.
|
12 |
#[allow(clippy::missing_panics_doc)] // Never panics
|
13 |
pub fn shutdown() {
|
22 |
#[cfg(feature = "mock-shutdown")]
|
23 |
#[allow(clippy::missing_panics_doc)] // Never panics
|
24 |
#[allow(clippy::module_name_repetitions)] // Never panics
|
40 |
#[allow(clippy::module_name_repetitions)]
|
41 |
#[allow(clippy::missing_panics_doc)]
|
42 |
pub async fn await_shutdown() {
|
20 |
/// Samples the gradient at position `i/n`. Requires `0 ≤ i < n`.
|
21 |
#[allow(clippy::missing_panics_doc)]
|
22 |
pub fn eval_rational(&self, i: usize, n: usize) -> Color {
|
6 |
#[allow(clippy::missing_panics_doc)]
|
7 |
#[proc_macro_derive(CouchDocument, attributes(serde))]
|
212 |
#[inline]
|
213 |
#[allow(clippy::missing_panics_doc)]
|
214 |
pub fn strong_count(&self) -> Option<NonZeroUsize> {
|
14 |
/// Creates a new token account
|
15 |
#[allow(clippy::missing_panics_doc)]
|
16 |
pub async fn create_token_account<'a, F, E>(
|
57 |
/// Creates a new mint
|
58 |
#[allow(clippy::missing_panics_doc)]
|
59 |
pub async fn create_mint<'a, F, E>(
|
102 |
/// Mints tokens to an account
|
103 |
#[allow(clippy::missing_panics_doc)]
|
104 |
pub fn mint_to<'a>(
|
128 |
/// Transfers tokens between accounts
|
129 |
#[allow(clippy::missing_panics_doc)]
|
130 |
pub fn transfer<'a>(
|
686 |
// here since the lock is never held over code that could panic.
|
687 |
#[allow(clippy::missing_panics_doc)]
|
688 |
#[must_use]
|
60 |
/// Returns `Err` when socket operations fail.
|
61 |
#[allow(clippy::missing_panics_doc)]
|
62 |
pub fn serve_udp(
|
173 |
/// original signal has an even number of samples, last) bin(s).
|
174 |
#[allow(clippy::missing_panics_doc)]
|
175 |
pub fn get_frequency_bins(&mut self) -> &[Complex<T>; (SIZE - 1) / 2] {
|
182 |
/// the original signal has an even number of samples, last) bin(s).
|
183 |
#[allow(clippy::missing_panics_doc)]
|
184 |
pub fn get_frequency_bins_mut(&mut self) -> &mut [Complex<T>; (SIZE - 1) / 2] {
|
31 |
#[must_use]
|
32 |
#[allow(clippy::missing_panics_doc)] // tested to not panic
|
33 |
pub fn new() -> Client {
|
364 |
/// Returns an error if the `choice` is malformed or its proofs fail verification.
|
365 |
#[allow(clippy::missing_panics_doc)]
|
366 |
pub fn verify(
|
398 |
/// a well-formed proof.
|
399 |
#[allow(clippy::missing_panics_doc)] // triggered by `debug_assert`
|
400 |
pub fn from_bytes(bytes: &[u8]) -> Option<Self> {
|
292 |
}
|
293 |
#[allow(clippy::missing_panics_doc)]
|
294 |
pub fn reserve_id(&mut self, name: impl Into<String> + AsRef<str>) -> Id {
|
355 |
// as any attempts to resolve that into a path will fail.
|
356 |
#[allow(clippy::missing_panics_doc)]
|
357 |
pub fn force_remove<'a>(&mut self, document: Id, provider: &mut impl Provider<'a>) {
|
863 |
/// Remove the missing references.
|
864 |
#[allow(clippy::missing_panics_doc)]
|
865 |
pub fn missing(&self) -> MissingOccurrences {
|
320 |
/// String similarity algorithms.
|
321 |
#[allow(clippy::missing_panics_doc)] // They don't happen.
|
322 |
pub mod algo {
|
714 |
/// if you don't care about the [`Options`].
|
715 |
#[allow(clippy::missing_panics_doc)]
|
716 |
#[allow(clippy::missing_errors_doc)]
|
792 |
}
|
793 |
#[allow(clippy::missing_panics_doc)]
|
794 |
pub fn set_op(&mut self, op: Op) {
|
114 |
/// Returns the standard deviation of this `Ema`
|
115 |
#[allow(clippy::missing_panics_doc)]
|
116 |
#[must_use]
|
143 |
/// function.
|
144 |
#[allow(clippy::missing_panics_doc)] // The only error that internal_encode returns can't be triggered from this flow
|
145 |
#[must_use]
|
352 |
#[allow(clippy::missing_panics_doc)]
|
353 |
pub fn check(&mut self, key: Key, cost: u32, now: Instant) -> bool {
|
2 |
/// or be removed in the future, with no regard for backwards compatibility.
|
3 |
#[allow(clippy::missing_panics_doc)]
|
4 |
pub fn escape_string(input: &str, out: &mut String) {
|
294 |
/// to be grabbed.
|
295 |
#[allow(clippy::missing_panics_doc)]
|
296 |
#[must_use]
|
307 |
/// - `KeyAndValue`
|
308 |
#[allow(clippy::missing_panics_doc)]
|
309 |
#[instrument(level = "trace")]
|
47 |
#[must_use]
|
48 |
#[allow(clippy::missing_panics_doc)]
|
49 |
pub fn new(tailoring: Tailoring, shifting: bool) -> Self {
|
138 |
/// * if the responce isn't a valid `refresh_token`
|
139 |
#[allow(clippy::missing_panics_doc)] // this should never panic
|
140 |
pub async fn access_token(&mut self) -> Result<&str, GoogleOAuth2Error> {
|
22 |
#[must_use]
|
23 |
#[allow(clippy::missing_panics_doc)]
|
24 |
pub fn escape_ascii(input: &[u8]) -> String {
|
446 |
/// The buffer becomes empty and subsequent writes can fill the whole buffer.
|
447 |
#[allow(clippy::missing_panics_doc)]
|
448 |
pub fn read_all(&mut self) -> &[u8] {
|
456 |
/// Returns `0` when the buffer is empty or `dest` is zero-length.
|
457 |
#[allow(clippy::missing_panics_doc)]
|
458 |
pub fn read_and_copy_bytes(&mut self, dest: &mut [u8]) -> usize {
|
476 |
/// Returns `Some(())` if `dest` is zero-length.
|
477 |
#[allow(clippy::missing_panics_doc)]
|
478 |
pub fn read_and_copy_exact(&mut self, dest: &mut [u8]) -> Option<()> {
|
643 |
/// when `deframer_fn` returns an error.
|
644 |
#[allow(clippy::missing_panics_doc)]
|
645 |
pub fn deframe<F>(
|
656 |
/// This function returns `SourceError` when it failed to read samples from `src`.
|
657 |
#[allow(clippy::missing_panics_doc)]
|
658 |
pub fn encode_with_multiple_block_sizes<T: Seekable>(
|
217 |
/// modify the color palette.
|
218 |
#[allow(clippy::missing_panics_doc)]
|
219 |
#[cfg_attr(docsrs, doc(cfg(feature = "colors")))]
|
115 |
/// Replaces the active `LogSpecification`.
|
116 |
#[allow(clippy::missing_panics_doc)]
|
117 |
pub fn set_new_spec(&self, new_spec: LogSpecification) {
|
134 |
/// Replaces the active `LogSpecification` and pushes the previous one to a Stack.
|
135 |
#[allow(clippy::missing_panics_doc)]
|
136 |
pub fn push_temp_spec(&mut self, new_spec: LogSpecification) {
|
47 |
#[must_use]
|
48 |
#[allow(clippy::missing_panics_doc)]
|
49 |
pub fn all_possible_combos() -> (
|
9 |
impl Outs {
|
10 |
#[allow(clippy::missing_panics_doc, clippy::toplevel_ref_arg)]
|
11 |
pub fn add(&mut self, player: usize, card: PlayingCard) {
|
24 |
#[allow(clippy::missing_panics_doc, clippy::toplevel_ref_arg)]
|
25 |
pub fn extend(&mut self, other: &Outs) {
|
89 |
#[allow(clippy::missing_panics_doc)]
|
90 |
pub fn eval_at_deal(&self) -> CaseEvals {
|
231 |
/// Used for printing out a demo of the `Table`. See the examples folder for it in action.
|
232 |
#[allow(clippy::missing_panics_doc)]
|
233 |
pub fn play_out(&self) {
|
243 |
#[allow(clippy::missing_panics_doc)]
|
244 |
pub fn play_out_detailed(&self) {
|
254 |
#[allow(clippy::missing_panics_doc)]
|
255 |
pub fn play_out_deal(&self) -> bool {
|
263 |
#[allow(clippy::missing_panics_doc)]
|
264 |
pub fn play_out_deal_fmt(&self) -> String {
|
60 |
#[must_use]
|
61 |
#[allow(clippy::missing_panics_doc)]
|
62 |
pub fn every_other(&self) -> TwoCardsSet {
|
206 |
/// Will return `CardError::InvalidCard` for an invalid index.
|
207 |
#[allow(clippy::missing_panics_doc)]
|
208 |
fn try_from(value: &'static str) -> Result<Self, Self::Error> {
|
471 |
/// date-like suffix, i.e. newer dates are sorted before older dates.
|
472 |
#[allow(clippy::missing_panics_doc)]
|
473 |
pub fn reorder_and_dedup(&mut self) {
|
76 |
#[inline]
|
77 |
#[allow(clippy::missing_panics_doc)]
|
78 |
pub fn with_event_handler<C, TestKeybinding: crate::CustomKeybinding, CustomEvent: crate::CustomEvent>(
|
406 |
#[inline]
|
407 |
#[allow(clippy::missing_panics_doc, clippy::panic)]
|
408 |
pub fn assert_sent_messages(&self, messages: Vec<&str>) {
|
734 |
/// Find subtree by name
|
735 |
#[allow(clippy::missing_panics_doc)]
|
736 |
#[inline]
|
67 |
/// Get the major part of the version.
|
68 |
#[allow(clippy::missing_panics_doc)]
|
69 |
#[must_use]
|
74 |
/// Get the minor part of the version.
|
75 |
#[allow(clippy::missing_panics_doc)]
|
76 |
#[must_use]
|
85 |
/// bits, or if `sector` can't fit in 6 bits.
|
86 |
#[allow(clippy::missing_panics_doc)]
|
87 |
#[must_use]
|
117 |
/// Scrapes an HTML document searching for citation ids
|
118 |
#[allow(clippy::missing_panics_doc)]
|
119 |
#[must_use]
|
151 |
/// Scrapes an HTML document searching for a BibTeX entry URL
|
152 |
#[allow(clippy::missing_panics_doc)]
|
153 |
#[must_use]
|
148 |
/// When parse failed(invalid gurgle syntax, etc) or exceeded the limit defined in `config`.
|
149 |
#[allow(clippy::missing_panics_doc)] // because unreachable branch is indeed unreachable
|
150 |
pub fn compile_with_config(s: &str, config: &Config) -> Result<Self, CompileError> {
|
84 |
#[allow(clippy::missing_panics_doc)] // because this can't panic
|
85 |
#[must_use]
|
72 |
//! ```
|
73 |
#![allow(clippy::missing_panics_doc, clippy::missing_errors_doc)]
|
74 |
use std::fmt::Debug;
|
233 |
/// Create a [`ZWriter`] trait object from a writer.
|
234 |
#[allow(clippy::missing_panics_doc)]
|
235 |
pub fn from_writer(self, writer: W) -> Box<dyn ZWriter>
|
246 |
#[inline]
|
247 |
#[allow(clippy::missing_panics_doc)]
|
248 |
pub fn capacity(&self) -> usize {
|
58 |
#[allow(clippy::missing_panics_doc)]
|
59 |
#[proc_macro_attribute]
|
280 |
// panic should be impossible (`unreachable`)
|
281 |
#[allow(clippy::missing_panics_doc)]
|
282 |
#[must_use]
|
433 |
// Any panic would indicate a bug in this crate or a dependency of it, not in user code.
|
434 |
#[allow(clippy::missing_panics_doc)]
|
435 |
pub fn derive(&self, index: i32) -> crate::Result<Self> {
|
522 |
// Any panic would indicate a bug in this crate or a dependency of it, not in user code.
|
523 |
#[allow(clippy::missing_panics_doc)]
|
524 |
#[must_use]
|
231 |
// panic should be impossible (`unreachable`)
|
232 |
#[allow(clippy::missing_panics_doc)]
|
233 |
#[must_use]
|
39 |
// Ok since it it a string literal and this function is unit tested to not panic.
|
40 |
#[allow(clippy::missing_panics_doc)]
|
41 |
pub fn new(node_id: i64, epoch: DateTime<Utc>) -> HexaFreezeResult<Self> {
|
135 |
/// This must be run inside a Tokio runtime context.
|
136 |
#[allow(clippy::missing_panics_doc)]
|
137 |
#[must_use]
|
148 |
#[cfg(feature = "system-config")]
|
149 |
#[allow(clippy::missing_panics_doc)]
|
150 |
#[must_use]
|
107 |
/// Returns an error if the request channel is closed.
|
108 |
#[allow(clippy::missing_panics_doc)]
|
109 |
pub async fn send(&self, mut request: Request) -> Result<i32, Error> {
|
231 |
/// ```
|
232 |
#[allow(clippy::missing_panics_doc)] // with generic IdSet and PortSet set service_id must be set
|
233 |
pub fn custom_msg<Msg>(self, msg: Msg) -> Result<Chart<1, Msg>, Error>
|
280 |
// with generic IdSet, PortSet set service_id and service_port are always Some
|
281 |
#[allow(clippy::missing_panics_doc)]
|
282 |
pub fn finish(self) -> Result<Chart<1, Port>, Error> {
|
326 |
// with generic IdSet, PortSets set service_id and service_ports are always Some
|
327 |
#[allow(clippy::missing_panics_doc)]
|
328 |
pub fn finish(self) -> Result<Chart<N, Port>, Error> {
|
33 |
// case panicing here is expected
|
34 |
#[allow(clippy::missing_panics_doc)]
|
35 |
#[must_use]
|
79 |
// case panicing here is expected
|
80 |
#[allow(clippy::missing_panics_doc)]
|
81 |
#[must_use]
|
122 |
// case panicing here is expected
|
123 |
#[allow(clippy::missing_panics_doc)]
|
124 |
#[must_use]
|
176 |
// case panicing here is expected
|
177 |
#[allow(clippy::missing_panics_doc)]
|
178 |
#[must_use]
|
190 |
/// The port this instance is using for discovery
|
191 |
#[allow(clippy::missing_panics_doc)] // socket is set during building
|
192 |
#[must_use]
|
65 |
/// Shift entries up in the character map
|
66 |
#[allow(clippy::missing_panics_doc)]
|
67 |
pub fn shift_insertion(&mut self, loc: &Loc, st: &str, tab_width: usize) -> usize {
|
83 |
/// Shift entries down in the character map
|
84 |
#[allow(clippy::missing_panics_doc)]
|
85 |
pub fn shift_deletion(&mut self, loc: &Loc, x: (usize, usize), st: &str, tab_width: usize) {
|
109 |
/// Shift lines in the character map up one
|
110 |
#[allow(clippy::missing_panics_doc)]
|
111 |
pub fn shift_up(&mut self, loc: usize) {
|
122 |
/// Shift lines in the character map down one
|
123 |
#[allow(clippy::missing_panics_doc)]
|
124 |
pub fn shift_down(&mut self, loc: usize) {
|
651 |
#[allow(clippy::missing_panics_doc)]
|
652 |
#[must_use]
|
24 |
// This cannot panic.
|
25 |
#[allow(clippy::missing_panics_doc)]
|
26 |
#[must_use]
|
49 |
// This cannot panic.
|
50 |
#[allow(clippy::missing_panics_doc)]
|
51 |
#[must_use]
|
88 |
// "command_characters" part can't fail as it is checked.
|
89 |
#[allow(clippy::missing_panics_doc)]
|
90 |
pub fn get_user_config<D>(conffile_dir: &Path, diskit: D) -> Result<Self, Error>
|
60 |
// This cannot panic.
|
61 |
#[allow(clippy::missing_panics_doc)]
|
62 |
#[must_use]
|
694 |
#[must_use]
|
695 |
#[allow(clippy::missing_panics_doc)] // todo!
|
696 |
pub fn dom_len(&self) -> usize {
|
715 |
#[must_use]
|
716 |
#[allow(clippy::missing_panics_doc)] // todo!
|
717 |
pub fn dom_empty(&self) -> bool {
|
17 |
#[allow(clippy::missing_panics_doc)]
|
18 |
impl<T> RawOneLatest<T> {
|
101 |
/// ```
|
102 |
#[allow(clippy::missing_panics_doc)]
|
103 |
fn set_picture(&mut self, index: usize, picture: Picture, info: PictureInformation) {
|
21 |
// u16::MAX is greater than 0
|
22 |
allow(clippy::missing_panics_doc, clippy::unwrap_used)
|
23 |
]
|
234 |
#[inline]
|
235 |
#[allow(clippy::missing_panics_doc)]
|
236 |
pub fn get_texture(&self) -> &Texture2D {
|
241 |
#[inline]
|
242 |
#[allow(clippy::missing_panics_doc)]
|
243 |
pub fn get_texture_mut(&mut self) -> &mut Texture2D {
|
48 |
/// without the parent one.
|
49 |
#[allow(clippy::missing_panics_doc)]
|
50 |
pub fn include_templates<P>(&mut self, root: P, glob_str: &str) -> Result<(), Error>
|
45 |
/// Returns [`Room`] by its ID.
|
46 |
#[allow(clippy::missing_panics_doc)]
|
47 |
#[inline]
|
54 |
/// Removes [`Room`] from [`RoomRepository`] by [`RoomId`].
|
55 |
#[allow(clippy::missing_panics_doc)]
|
56 |
pub fn remove(&self, id: &RoomId) {
|
60 |
/// Adds new [`Room`] into [`RoomRepository`].
|
61 |
#[allow(clippy::missing_panics_doc)]
|
62 |
pub fn add(&self, id: RoomId, room: Addr<Room>) {
|
67 |
/// [`RoomId`].
|
68 |
#[allow(clippy::missing_panics_doc)]
|
69 |
#[inline]
|
485 |
/// instantiate one using [`Population::seeded`].
|
486 |
#[allow(clippy::todo, clippy::needless_pass_by_value, clippy::missing_panics_doc)]
|
487 |
pub fn with_seeded_population(
|
301 |
// the unwraps in this method shouldn't be reachable
|
302 |
#[allow(clippy::missing_panics_doc)]
|
303 |
pub fn rows_formatted(
|
366 |
// the unwraps in this method shouldn't be reachable
|
367 |
#[allow(clippy::missing_panics_doc)]
|
368 |
pub fn rows_diff<'a>(
|
297 |
#[must_use]
|
298 |
#[allow(clippy::missing_panics_doc)]
|
299 |
pub fn entry(&self) -> &LogEntry<'static> {
|
307 |
#[must_use]
|
308 |
#[allow(clippy::missing_panics_doc)]
|
309 |
pub fn entry_mut(&mut self) -> &mut LogEntry<'static> {
|
318 |
/// well as impervious to sudden failures such as a power outage.
|
319 |
#[allow(clippy::missing_panics_doc)]
|
320 |
pub fn commit(mut self) -> Result<(), Error> {
|
755 |
/// Sets `key` to `value`. This is executed within its own transaction.
|
756 |
#[allow(clippy::missing_panics_doc)]
|
757 |
pub fn set(
|
799 |
/// Sets `key` to `value`. If a value already exists, it will be returned.
|
800 |
#[allow(clippy::missing_panics_doc)]
|
801 |
pub fn replace(
|
381 |
/// transaction.
|
382 |
#[allow(clippy::missing_panics_doc)] // Should be unreachable
|
383 |
pub fn commit(mut self) -> Result<TreeLocks, Error> {
|
955 |
#[must_use]
|
956 |
#[allow(clippy::missing_panics_doc)]
|
957 |
pub fn max_key(&self) -> &ArcBytes<'static> {
|
73 |
/// function does nothing.
|
74 |
#[allow(clippy::missing_panics_doc)] // Currently the only panic is if the types don't match, which shouldn't happen due to these nodes always being accessed through a root.
|
75 |
pub fn load(
|
138 |
/// be accessed mutably.
|
139 |
#[allow(clippy::missing_panics_doc)]
|
140 |
pub fn map_loaded_entry<
|
400 |
/// Sets `key` to `value`. If a value already exists, it will be returned.
|
401 |
#[allow(clippy::missing_panics_doc)]
|
402 |
pub fn replace(
|
100 |
/// [`Pipe`]: struct.Pipe.html
|
101 |
#[allow(clippy::missing_panics_doc)]
|
102 |
pub fn close(self)
|
88 |
/// [`Pipe`]: struct.Pipe.html
|
89 |
#[allow(clippy::missing_panics_doc)]
|
90 |
pub fn close(self)
|
59 |
/// closes the underlying connection.
|
60 |
#[allow(clippy::missing_panics_doc)]
|
61 |
pub fn close(self)
|
42 |
/// Generate the next `NUID` string from the global locked `NUID` instance.
|
43 |
#[allow(clippy::missing_panics_doc)]
|
44 |
#[allow(clippy::must_use_candidate)]
|
546 |
/// * [`TooManyDescriptors`](Error::TooManyDescriptors)
|
547 |
#[allow(clippy::missing_panics_doc)] // Only encode() calls to a buffer which cannot fail.
|
548 |
async fn get_colour(&mut self, method: &str) -> Result<Colour, Error> {
|
566 |
/// * [`TooManyDescriptors`](Error::TooManyDescriptors)
|
567 |
#[allow(clippy::missing_panics_doc)] // Only encode() calls to a buffer which cannot fail.
|
568 |
async fn set_colour(
|
112 |
#[allow(clippy::missing_safety_doc)]
|
113 |
#[allow(clippy::missing_panics_doc)]
|
114 |
unsafe fn free_by_ref<S: DropPolicy>(&self, slot: &mut Slot<T, S>) {
|
124 |
#[allow(clippy::missing_safety_doc)]
|
125 |
#[allow(clippy::missing_panics_doc)]
|
126 |
unsafe fn take_by_ref<S: CanTakeValue>(&self, slot: &mut Slot<T, S>) -> T {
|
179 |
#[allow(clippy::missing_safety_doc)]
|
180 |
#[allow(clippy::missing_panics_doc)]
|
181 |
unsafe fn forget_by_ref<S: Policy>(&self, slot: &mut Slot<T, S>) {
|
106 |
#[must_use]
|
107 |
#[allow(clippy::missing_panics_doc)]
|
108 |
pub fn opt_level(mut self, level: usize) -> Self {
|
122 |
/// The `opa` binary must be found in any of the system paths.
|
123 |
#[allow(clippy::missing_panics_doc, clippy::too_many_lines)]
|
124 |
pub fn compile(self) -> Result<(), anyhow::Error> {
|
367 |
/// Gives a prompt and returns the index of the user choice.
|
368 |
#[allow(clippy::missing_panics_doc)]
|
369 |
fn prompt<'a>(prompt: &str, question: &str, expected: &[&'a str]) -> io::Result<usize> {
|
80 |
/// ```
|
81 |
#[allow(clippy::missing_panics_doc)]
|
82 |
pub fn astar<N, C, FN, IN, FH, FS>(
|
170 |
/// start node, different paths may have different end nodes.
|
171 |
#[allow(clippy::missing_panics_doc)]
|
172 |
pub fn astar_bag<N, C, FN, IN, FH, FS>(
|
169 |
/// of the reachable targets.
|
170 |
#[allow(clippy::missing_panics_doc)]
|
171 |
pub fn dijkstra_partial<N, C, FN, IN, FS>(
|
80 |
/// ```
|
81 |
#[allow(clippy::missing_panics_doc)]
|
82 |
pub fn fringe<N, C, FN, IN, FH, FS>(
|
106 |
/// which is guaranteed to contain at least `node`.
|
107 |
#[allow(clippy::missing_panics_doc)]
|
108 |
pub fn strongly_connected_component<N, FN, IN>(node: &N, successors: FN) -> Vec<N>
|
154 |
#[allow(clippy::type_complexity)]
|
155 |
#[allow(clippy::missing_panics_doc)]
|
156 |
pub fn topological_sort_into_groups<N, FN, IN>(
|
78 |
/// Create new client
|
79 |
#[allow(clippy::missing_panics_doc)]
|
80 |
#[must_use]
|
89 |
/// Returns an error if the hash is invalid
|
90 |
#[allow(clippy::missing_panics_doc)]
|
91 |
pub fn validate(&self, client: &Client) -> Result<(), crate::Error> {
|
62 |
/// This takes an already existing implementation of a [Game](crate::Game) `G`
|
63 |
#[allow(clippy::too_many_lines, clippy::missing_panics_doc)]
|
64 |
pub fn run<G: crate::Game + 'static>(mut self, mut game: G) -> ! {
|
96 |
impl DecalStorage {
|
97 |
#[allow(clippy::missing_panics_doc)]
|
98 |
pub fn new(engine: &mut pixel_engine::Engine) -> Self {
|
237 |
/// Reduce view `view_name`.
|
238 |
#[allow(clippy::missing_panics_doc)] // the only unwrap is impossible to fail
|
239 |
pub async fn reduce_in_view(
|
270 |
/// Reduce view `view_name`, grouping by unique keys.
|
271 |
#[allow(clippy::missing_panics_doc)] // the only unwrap is impossible to fail
|
272 |
pub async fn grouped_reduce_in_view(
|
141 |
#[allow(clippy::unwrap_used)]
|
142 |
#[allow(clippy::missing_panics_doc)]
|
143 |
pub fn configure(
|
232 |
/// - Set HEAD to latest commit
|
233 |
#[allow(clippy::missing_panics_doc)]
|
234 |
#[allow(clippy::unwrap_used)]
|
79 |
#[allow(clippy::missing_panics_doc)]
|
80 |
pub fn main() {
|
186 |
#[allow(clippy::unwrap_used)]
|
187 |
#[allow(clippy::missing_panics_doc)]
|
188 |
/// Assumes linted input
|
668 |
#[allow(clippy::restriction)]
|
669 |
#[allow(clippy::missing_panics_doc)]
|
670 |
pub fn field_dependency_names(&self) -> Option<Vec<String>> {
|
18 |
#[allow(clippy::missing_panics_doc)]
|
19 |
#[allow(clippy::unwrap_used)]
|
81 |
// TODO: This function can be improved in the future.
|
82 |
#[allow(clippy::missing_panics_doc)]
|
83 |
#[allow(clippy::too_many_lines)]
|
44 |
#[allow(clippy::missing_panics_doc)] // TODO: Explain briefly why this function may panic
|
45 |
/// Tries to initialize a local git repository from a remote.
|
99 |
#[allow(clippy::missing_panics_doc)]
|
100 |
fn peek_atom_at(&mut self, index: usize) -> Result<&Atom<'_>> {
|
109 |
#[allow(clippy::missing_panics_doc)]
|
110 |
fn peek_atom(&mut self) -> Result<&Atom<'_>> {
|
170 |
/// Makes a new rate limiter that accepts `max_cost_per_sec` cost every second.
|
171 |
#[allow(clippy::missing_panics_doc)]
|
172 |
#[must_use]
|
336 |
/// Fails with [`ServerError`] if access to the database fails or this user does not have permissions.
|
337 |
#[allow(clippy::missing_panics_doc)]
|
338 |
#[instrument(skip(id))]
|
698 |
/// ```
|
699 |
#[allow(clippy::missing_panics_doc)] // doesn't panic when alloc=true
|
700 |
pub fn insert(&mut self, value: T) -> Index {
|
734 |
/// ```
|
735 |
#[allow(clippy::missing_panics_doc)] // doesn't panic when alloc=true
|
736 |
pub fn insert_with<F>(&mut self, create: F) -> Index
|
486 |
// Panic can never occur here
|
487 |
#[allow(clippy::missing_panics_doc)]
|
488 |
pub unsafe extern fn rav1e_config_set_rc_summary(
|
784 |
// Panic can never occur here
|
785 |
#[allow(clippy::missing_panics_doc)]
|
786 |
pub unsafe extern fn rav1e_config_parse_int(
|
920 |
// Panic can never occur here
|
921 |
#[allow(clippy::missing_panics_doc)]
|
922 |
pub unsafe extern fn rav1e_twopass_out(ctx: *mut Context) -> *mut Data {
|
1044 |
// Panic can never occur here
|
1045 |
#[allow(clippy::missing_panics_doc)]
|
1046 |
pub unsafe extern fn rav1e_rc_send_pass_data(
|
41 |
/// exist.
|
42 |
#[allow(clippy::missing_panics_doc)]
|
43 |
pub fn new(mut segments: Vec<ReadSegment>) -> Result<Self, ReadStructureError> {
|
39 |
/// [book]: crate::models::book::Book
|
40 |
#[allow(clippy::missing_panics_doc)]
|
41 |
pub fn query<T: ABQuery>(path: &Path) -> Result<Vec<T>> {
|
160 |
#[must_use]
|
161 |
#[allow(clippy::missing_panics_doc)]
|
162 |
pub fn issue_url(&self, issue_id: u64) -> Url {
|
197 |
#[must_use]
|
198 |
#[allow(clippy::missing_panics_doc)] // this method should never panic
|
199 |
pub fn as_name(self) -> &'static str {
|
212 |
// - registering the metrics can't fail (the registry is new, so there is no chance of metric duplication)
|
213 |
#[allow(clippy::missing_panics_doc)]
|
214 |
pub fn with_registry(registry: Registry) -> Self {
|
149 |
/// The number of features must be less than 2^32 - 1.
|
150 |
#[allow(clippy::missing_panics_doc)]
|
151 |
#[inline(always)]
|
94 |
/// Generated left/right connection ID must be smaller than 2^32.
|
95 |
#[allow(clippy::missing_panics_doc)]
|
96 |
pub fn merge(&self) -> Result<MergedModel> {
|
366 |
/// Trains a model from the given dataset.
|
367 |
#[allow(clippy::missing_panics_doc)]
|
368 |
#[must_use]
|
64 |
#[inline(always)]
|
65 |
#[allow(clippy::missing_panics_doc)] // False positive; never panics.
|
66 |
pub fn addmul(mut lhs: &mut [u64], mut a: &[u64], mut b: &[u64]) -> bool {
|
19 |
/// Adds a provider to the injector.
|
20 |
#[allow(clippy::missing_panics_doc)]
|
21 |
pub fn add_provider(&mut self, provider: Box<dyn Provider>) {
|
57 |
/// module, they are overridden.
|
58 |
#[allow(clippy::missing_panics_doc)]
|
59 |
pub fn add_module(&mut self, module: Module) {
|
89 |
/// will be requested on demand rather than all at once.
|
90 |
#[allow(clippy::missing_panics_doc)]
|
91 |
pub fn get_all(&mut self) -> ServicesIter<'_, I> {
|
103 |
/// requests may fail.
|
104 |
#[allow(clippy::missing_panics_doc)]
|
105 |
pub fn get_all_owned(&mut self) -> OwnedServicesIter<'_, I> {
|
117 |
#[must_use]
|
118 |
#[allow(clippy::missing_panics_doc)]
|
119 |
pub fn len(&self) -> usize {
|
127 |
#[must_use]
|
128 |
#[allow(clippy::missing_panics_doc)]
|
129 |
pub fn is_empty(&self) -> bool {
|
153 |
// Should never panic
|
154 |
#[allow(clippy::missing_panics_doc)]
|
155 |
if provider_entry.replace(providers.take().unwrap()).is_some() {
|
19 |
/// registered for a service.
|
20 |
#[allow(clippy::missing_panics_doc)]
|
21 |
pub fn provide<P: Provider>(&mut self, provider: P) {
|
107 |
impl<'sync_client_message> SyncClientMessageRequestPayload<'sync_client_message> {
|
108 |
#[allow(clippy::missing_panics_doc)]
|
109 |
#[must_use]
|
191 |
/// Encrypts file properties to a metadata string.
|
192 |
#[allow(clippy::missing_panics_doc)]
|
193 |
#[must_use]
|
237 |
#[allow(clippy::missing_panics_doc)]
|
238 |
#[must_use]
|
244 |
#[allow(clippy::missing_panics_doc)]
|
245 |
#[must_use]
|
251 |
#[allow(clippy::missing_panics_doc)]
|
252 |
#[must_use]
|
219 |
/// Puts the given name into Filen-expected JSON { name: "some name" } and encrypts it into metadata.
|
220 |
#[allow(clippy::missing_panics_doc)]
|
221 |
pub fn encrypt_name_to_metadata<S: Into<String>>(name: S, key: &SecUtf8) -> String {
|
183 |
/// Generates a new link uuid and a link key metadata.
|
184 |
#[allow(clippy::missing_panics_doc)]
|
185 |
#[must_use]
|
222 |
/// Produces percent-encoded string of query parameters for Filen upload endpoint, using this properties.
|
223 |
#[allow(clippy::missing_panics_doc)]
|
224 |
#[must_use]
|
65 |
/// Returns an error if the header is invalid
|
66 |
#[allow(clippy::unwrap_in_result, clippy::missing_panics_doc)]
|
67 |
pub fn from_header_str(header: &'a str) -> Result<Self, ParseAmzCopySourceError> {
|
12 |
/// Converts the bytes into an ASCII string.
|
13 |
#[allow(clippy::missing_panics_doc)]
|
14 |
pub fn escape_ascii(input: impl AsRef<[u8]>) -> String {
|
26 |
/// Converts the bytes into an ASCII string.
|
27 |
#[allow(clippy::missing_panics_doc)]
|
28 |
pub fn escape_ascii(input: impl AsRef<[u8]>) -> String {
|
32 |
/// Converts the bytes into an ASCII string.
|
33 |
#[allow(clippy::missing_panics_doc)]
|
34 |
pub fn escape_ascii(input: impl AsRef<[u8]>) -> String {
|
38 |
#[allow(clippy::match_wildcard_for_single_variants)]
|
39 |
#[allow(clippy::missing_panics_doc)]
|
40 |
pub fn unwrap_final(self) -> FinalNode {
|
48 |
#[allow(clippy::match_wildcard_for_single_variants)]
|
49 |
#[allow(clippy::missing_panics_doc)]
|
50 |
pub fn unwrap_non_final(self) -> NonFinalNode {
|
170 |
#[allow(clippy::must_use_candidate)]
|
171 |
#[allow(clippy::missing_panics_doc)]
|
172 |
pub fn unwrap_open_class(self) -> (bool, Vec<ClassItem>) {
|
181 |
#[allow(clippy::must_use_candidate)]
|
182 |
#[allow(clippy::missing_panics_doc)]
|
183 |
pub fn unwrap_open_alt(self) -> Vec<FinalNode> {
|
192 |
#[allow(clippy::must_use_candidate)]
|
193 |
#[allow(clippy::missing_panics_doc)]
|
194 |
pub fn unwrap_repeat_min(self) -> String {
|
55 |
#[proc_macro]
|
56 |
#[allow(clippy::missing_panics_doc)]
|
57 |
pub fn regex(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
206 |
/// to avoid allocating on the heap.
|
207 |
#[allow(clippy::missing_panics_doc)]
|
208 |
pub async fn select_ab<A, B, FutA, FutB>(a: FutA, b: FutB) -> OptionAb<A, B>
|
234 |
/// to avoid allocating on the heap.
|
235 |
#[allow(clippy::missing_panics_doc)]
|
236 |
pub async fn select_abc<A, B, C, FutA, FutB, FutC>(a: FutA, b: FutB, c: FutC) -> OptionAbc<A, B, C>
|
264 |
/// to avoid allocating on the heap.
|
265 |
#[allow(clippy::missing_panics_doc)]
|
266 |
pub async fn select_abcd<A, B, C, D, FutA, FutB, FutC, FutD>(
|
28 |
/// When the receiver is already dropped, returns `SendError` and the value.
|
29 |
#[allow(clippy::missing_panics_doc)]
|
30 |
pub fn send(mut self, value: T) -> Result<(), SendError<T>> {
|
99 |
/// is no longer able to receive information.
|
100 |
#[allow(clippy::missing_panics_doc)]
|
101 |
pub async fn async_send(&self, value: T) -> Result<(), SendError<T>> {
|
137 |
/// is no longer able to receive information.
|
138 |
#[allow(clippy::missing_panics_doc)]
|
139 |
pub fn send(&self, value: T) -> Result<(), SendError<T>> {
|
151 |
/// [`TrySendError::Disconnected`]: std::sync::mpsc::TrySendError
|
152 |
#[allow(clippy::missing_panics_doc)]
|
153 |
pub fn try_send(&self, value: T) -> Result<(), std::sync::mpsc::TrySendError<T>> {
|
241 |
#[allow(clippy::missing_errors_doc)]
|
242 |
#[allow(clippy::missing_panics_doc)]
|
243 |
pub fn try_recv(&self) -> Result<T, std::sync::mpsc::TryRecvError> {
|
519 |
/// adding it to the queue.
|
520 |
#[allow(clippy::missing_panics_doc)]
|
521 |
pub fn schedule<F: FnOnce() + Send + 'static>(&self, f: F) {
|
551 |
/// If the return value is not `TryScheduleError::QueueFull` then it added the job to the queue.
|
552 |
#[allow(clippy::missing_panics_doc)]
|
553 |
pub fn try_schedule(&self, f: impl FnOnce() + Send + 'static) -> Result<(), TryScheduleError> {
|
236 |
/// The thread is called `"safina_timer"`.
|
237 |
#[allow(clippy::missing_panics_doc)]
|
238 |
pub fn start_timer_thread() {
|
18 |
#[must_use]
|
19 |
#[allow(clippy::missing_panics_doc)]
|
20 |
pub fn new_many(node_types: BTreeSet<NodeType>) -> Self {
|
9 |
#[must_use]
|
10 |
#[allow(clippy::missing_panics_doc)]
|
11 |
pub fn render_schema(schema: &SchemaHypothesis) -> String {
|
31 |
impl Decryptor {
|
32 |
#[allow(clippy::missing_panics_doc)]
|
33 |
/// Creates a new `Decryptor`.
|
37 |
#[allow(clippy::missing_panics_doc)]
|
38 |
/// Creates a new `Encryptor`.
|
10 |
#[allow(clippy::shadow_unrelated)]
|
11 |
#[allow(clippy::missing_panics_doc)]
|
12 |
pub fn input_ev<Ms: 'static, MsU: 'static>(
|
37 |
#[allow(clippy::shadow_unrelated)]
|
38 |
#[allow(clippy::missing_panics_doc)]
|
39 |
pub fn keyboard_ev<Ms: 'static, MsU: 'static>(
|
56 |
#[allow(clippy::shadow_unrelated)]
|
57 |
#[allow(clippy::missing_panics_doc)]
|
58 |
pub fn mouse_ev<Ms: 'static, MsU: 'static>(
|
75 |
#[allow(clippy::shadow_unrelated)]
|
76 |
#[allow(clippy::missing_panics_doc)]
|
77 |
pub fn touch_ev<Ms: 'static, MsU: 'static>(
|
94 |
#[allow(clippy::shadow_unrelated)]
|
95 |
#[allow(clippy::missing_panics_doc)]
|
96 |
pub fn drag_ev<Ms: 'static, MsU: 'static>(
|
36 |
/// Appends a blob value.
|
37 |
#[allow(clippy::missing_panics_doc)]
|
38 |
pub fn append_blob(&mut self, name: &str, blob: &web_sys::Blob) {
|
48 |
/// Appends a string value.
|
49 |
#[allow(clippy::missing_panics_doc)]
|
50 |
pub fn append_str(&mut self, name: &str, str: &str) {
|
63 |
/// Will return `Err` if serialization fails.
|
64 |
#[allow(clippy::missing_panics_doc)]
|
65 |
#[cfg(any(feature = "serde-json", feature = "serde-wasm-bindgen"))]
|
89 |
impl Default for FormData {
|
90 |
#[allow(clippy::missing_panics_doc)]
|
91 |
fn default() -> Self {
|
671 |
/// - If the key and values are not present, they will be crated.
|
672 |
#[allow(clippy::missing_panics_doc)]
|
673 |
pub fn push_value<'a>(&mut self, key: impl Into<Cow<'a, str>>, value: String) {
|
463 |
#[allow(clippy::missing_panics_doc)]
|
464 |
pub fn inner(&self) -> Pages {
|
500 |
#[must_use] #[allow(clippy::missing_panics_doc)]
|
501 |
pub fn into_slice(self) -> NonNull<[u8]> {
|
510 |
#[allow(clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
511 |
pub fn shrink(self, size: usize) -> Result<Self, Error> {
|
508 |
/// ```
|
509 |
#[allow(clippy::missing_panics_doc)]
|
510 |
#[must_use]
|
606 |
/// ```
|
607 |
#[allow(clippy::missing_panics_doc)]
|
608 |
#[must_use]
|
643 |
/// ```
|
644 |
#[allow(clippy::missing_panics_doc)]
|
645 |
#[must_use]
|
681 |
/// ```
|
682 |
#[allow(clippy::missing_panics_doc)]
|
683 |
#[must_use]
|
823 |
/// ```
|
824 |
#[allow(clippy::missing_panics_doc)]
|
825 |
pub fn init(mut self) -> Result<Shutdown, Error> {
|
54 |
#[must_use]
|
55 |
#[allow(clippy::missing_panics_doc)]
|
56 |
#[allow(clippy::match_same_arms)]
|
188 |
/// <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control>
|
189 |
#[allow(clippy::missing_panics_doc)]
|
190 |
#[must_use]
|
201 |
/// <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control>
|
202 |
#[allow(clippy::missing_panics_doc)]
|
203 |
#[must_use]
|
25 |
#[must_use]
|
26 |
#[allow(clippy::missing_panics_doc)]
|
27 |
pub fn is_empty(&self) -> bool {
|
36 |
#[must_use]
|
37 |
#[allow(clippy::missing_panics_doc)]
|
38 |
pub fn len(&self) -> Option<u64> {
|
23 |
#[allow(clippy::missing_panics_doc)]
|
24 |
#[allow(clippy::match_same_arms)]
|
146 |
#[allow(clippy::missing_panics_doc)]
|
147 |
pub fn balance(&mut self) {
|
34 |
#[must_use]
|
35 |
#[allow(clippy::missing_panics_doc)]
|
36 |
pub fn new(size: usize) -> Self {
|
44 |
#[allow(clippy::missing_panics_doc)]
|
45 |
pub async fn async_wait_token(&mut self) -> Token {
|
50 |
#[must_use]
|
51 |
#[allow(clippy::missing_panics_doc)]
|
52 |
pub fn wait_token(&self) -> Token {
|
14 |
#[allow(clippy::missing_panics_doc)]
|
15 |
pub fn assert_bytes_eq(l: &[u8], r: &[u8]) {
|
128 |
#[allow(clippy::missing_panics_doc, clippy::unwrap_used)]
|
129 |
#[must_use]
|
20 |
#[allow(clippy::missing_panics_doc, clippy::unwrap_used)]
|
21 |
#[must_use]
|
86 |
#[allow(clippy::missing_panics_doc, clippy::expect_used, clippy::unwrap_used)]
|
87 |
pub fn configure_rustup_toolchain() {
|
50 |
impl Components {
|
51 |
#[allow(clippy::missing_panics_doc)]
|
52 |
/// Process the event on the component given by the event entry.
|
46 |
/// * Custom function returned `Err`
|
47 |
#[allow(clippy::missing_panics_doc)]
|
48 |
#[allow(clippy::unwrap_in_result)]
|
42 |
/// accordingly.
|
43 |
#[allow(clippy::missing_panics_doc)]
|
44 |
pub async fn new(config: Config, cont_stop_recv: mpsc::Receiver<ContOrStop>) -> Self {
|
106 |
/// Writing the header to `stdout` may fail.
|
107 |
#[allow(clippy::missing_panics_doc)]
|
108 |
pub async fn run(mut self) -> Result<(), Error> {
|
48 |
/// a refresh of all blocks, and sending `false` will halt that loop.
|
49 |
#[allow(clippy::missing_panics_doc)]
|
50 |
pub async fn new(
|
465 |
/// Gracefully halt the block, consuming it.
|
466 |
#[allow(clippy::missing_panics_doc)]
|
467 |
pub async fn halt(self) {
|
164 |
/// Same as [`run`], but allows for parsing and inspecting [`Migrate`] beforehand.
|
165 |
#[allow(clippy::missing_panics_doc)]
|
166 |
pub fn run_parsed<DB>(
|
178 |
/// panics.
|
179 |
#[allow(clippy::missing_panics_doc)]
|
180 |
#[must_use]
|
214 |
#[must_use]
|
215 |
#[allow(clippy::missing_panics_doc)]
|
216 |
pub fn parse(token_stream: TokenStream) -> (syn::AttributeArgs, syn::ItemStruct) {
|
149 |
#[allow(clippy::missing_panics_doc)]
|
150 |
/// A utility function to scan for just bounded tokens
|
27 |
/// Obtain the rust syntax highlighter
|
28 |
#[allow(clippy::missing_panics_doc, clippy::too_many_lines)]
|
29 |
#[must_use]
|
180 |
/// Obtain the python syntax highlighter
|
181 |
#[allow(clippy::missing_panics_doc)]
|
182 |
#[must_use]
|
210 |
/// Returns an error if the directory exists and we fail to remove it and its contents.
|
211 |
#[allow(clippy::missing_panics_doc)]
|
212 |
pub fn cleanup(mut self) -> Result<(), std::io::Error> {
|
234 |
#[must_use]
|
235 |
#[allow(clippy::missing_panics_doc)]
|
236 |
pub fn path(&self) -> &Path {
|
241 |
#[must_use]
|
242 |
#[allow(clippy::missing_panics_doc)]
|
243 |
pub fn child(&self, name: impl AsRef<str>) -> PathBuf {
|
272 |
/// Returns `Err` when it fails to write all of `contents` to the file.
|
273 |
#[allow(clippy::missing_panics_doc)]
|
274 |
pub fn with_contents(self, contents: &[u8]) -> Result<Self, std::io::Error> {
|
285 |
/// Returns an error if the file exists and we fail to remove it.
|
286 |
#[allow(clippy::missing_panics_doc)]
|
287 |
pub fn cleanup(mut self) -> Result<(), std::io::Error> {
|
311 |
#[must_use]
|
312 |
#[allow(clippy::missing_panics_doc)]
|
313 |
pub fn path(&self) -> &Path {
|
152 |
/// Returns the number of samples in the internal buffer.
|
153 |
#[allow(clippy::missing_panics_doc)]
|
154 |
#[inline]
|
282 |
/// Panics if these stats contain errors.
|
283 |
#[allow(clippy::missing_panics_doc)]
|
284 |
pub fn assert_no_errors(&self, match_level: MatchKind) {
|
43 |
#[allow(clippy::missing_panics_doc)]
|
44 |
impl<F: Frames> Loop<F> {
|
75 |
/// objects on the same thread will lead to a deadlock.
|
76 |
#[allow(clippy::missing_panics_doc)]
|
77 |
pub fn lock(&self) -> SharedLockGuard<F> {
|
179 |
/// Returns an error when the file has invalid syntax
|
180 |
#[allow(clippy::missing_panics_doc)]
|
181 |
pub fn read(file: &Path) -> Result<(Vec<Task>, Vec<Category>), String> {
|
556 |
/// Return true if we wanted it, and false otherwise.
|
557 |
#[allow(clippy::missing_panics_doc)] // Can't panic on valid object.
|
558 |
fn add_arc_microdesc(&mut self, md: Arc<Microdesc>) -> bool {
|
641 |
/// even if it was not usable before.
|
642 |
#[allow(clippy::missing_panics_doc)] // Can't panic on valid object.
|
643 |
pub fn by_id<'a, T>(&self, id: T) -> Option<Relay<'_>>
|
749 |
/// Return a (possibly unusable) relay with a given RSA identity.
|
750 |
#[allow(clippy::missing_panics_doc)] // Can't panic on valid object.
|
751 |
fn by_rsa_id_unchecked(&self, rsa_id: &RsaIdentity) -> Option<UncheckedRelay<'_>> {
|
163 |
#[allow(clippy::missing_panics_doc)] // lock poisoning propagation
|
164 |
impl SharedStorage {
|
419 |
/// [`TracingEventSender`]: crate::TracingEventSender
|
420 |
#[allow(clippy::missing_panics_doc, clippy::map_entry)] // false positive
|
421 |
pub fn try_receive(&mut self, event: TracingEvent) -> Result<(), ReceiveError> {
|
7 |
/// of each format should be tested within their respective crates.
|
8 |
#[allow(clippy::missing_panics_doc)]
|
9 |
pub fn test_format<F: Format<'static, u64> + OwnedDeserializer<u64> + Clone>(format: &F) {
|
24 |
// these unwraps aren't reachable
|
25 |
#[allow(clippy::missing_panics_doc)]
|
26 |
pub fn read_frame(&mut self) -> crate::Result<crate::Frame> {
|
55 |
// these unwraps aren't reachable
|
56 |
#[allow(clippy::missing_panics_doc)]
|
57 |
pub fn next_frame(&mut self) -> Option<crate::frame::Frame> {
|
27 |
// these unwraps aren't reachable
|
28 |
#[allow(clippy::missing_panics_doc)]
|
29 |
pub async fn read_frame(&mut self) -> crate::Result<crate::Frame> {
|
29 |
#[inline]
|
30 |
#[allow(clippy::missing_panics_doc)]
|
31 |
pub fn value(&self) -> SqlResult<'a> {
|
46 |
#[inline]
|
47 |
#[allow(clippy::missing_panics_doc)]
|
48 |
pub fn attribute(&'a self) -> &'a str {
|
100 |
#[inline]
|
101 |
#[allow(clippy::missing_panics_doc)] // We will have a valid type
|
102 |
pub fn set_type_coercion(&mut self, newtype: SqlType) {
|
117 |
#[inline]
|
118 |
#[allow(clippy::missing_panics_doc)] // We will have a valid type
|
119 |
pub fn get_type_coercion(&self) -> SqlType {
|
72 |
#[inline]
|
73 |
#[allow(clippy::missing_panics_doc)] // Attributes are identifiers in SQL and are always UTF8
|
74 |
pub fn get(&'a self, index: usize) -> Option<SqlArg<'a, S>> {
|
209 |
/// ```
|
210 |
#[allow(clippy::missing_panics_doc)]
|
211 |
pub fn empty_status(status: http::StatusCode) -> Self {
|
228 |
/// ```
|
229 |
#[allow(clippy::missing_panics_doc)]
|
230 |
pub fn text<V: Into<String>>(body: V) -> Self {
|
253 |
#[cfg(feature = "json")]
|
254 |
#[allow(clippy::missing_panics_doc)]
|
255 |
pub fn json<V: serde::Serialize>(body: &V) -> Result<Self, serde_json::Error> {
|
75 |
/// receive only 500 errors.
|
76 |
#[allow(clippy::missing_panics_doc)]
|
77 |
pub fn prepare(&mut self) {
|
288 |
// the unwraps in this method shouldn't be reachable
|
289 |
#[allow(clippy::missing_panics_doc)]
|
290 |
pub fn rows_formatted(
|
355 |
// the unwraps in this method shouldn't be reachable
|
356 |
#[allow(clippy::missing_panics_doc)]
|
357 |
pub fn rows_diff<'a>(
|
249 |
#[must_use]
|
250 |
#[allow(clippy::missing_panics_doc)]
|
251 |
pub fn get_version_string() -> &'static str {
|
112 |
/// Set the length of a string to fit within given number of cells.
|
113 |
#[allow(clippy::missing_panics_doc)]
|
114 |
pub fn set_cell_size(text: String, total: u32) -> String {
|
181 |
#[allow(clippy::module_name_repetitions)]
|
182 |
#[allow(clippy::missing_panics_doc)]
|
183 |
pub fn chop_cells(text: &str, max_size: u32, position: Option<u32>) -> Vec<String> {
|
87 |
/// Start metric collection and analysis
|
88 |
#[allow(clippy::missing_panics_doc)]
|
89 |
pub fn start(&self, options: AudioRenderCapacityOptions) {
|
152 |
/// Stop metric collection and analysis
|
153 |
#[allow(clippy::missing_panics_doc)]
|
154 |
pub fn stop(&self) {
|
61 |
#[must_use]
|
62 |
#[allow(clippy::missing_panics_doc)]
|
63 |
pub fn new(number_of_channels: usize, length: usize, sample_rate: f32) -> Self {
|
214 |
#[must_use]
|
215 |
#[allow(clippy::missing_panics_doc)]
|
216 |
pub fn output_latency(&self) -> f64 {
|
222 |
/// The initial value is `""`, which means the default audio output device.
|
223 |
#[allow(clippy::missing_panics_doc)]
|
224 |
pub fn sink_id(&self) -> String {
|
236 |
/// is currently not implemented.
|
237 |
#[allow(clippy::needless_collect, clippy::missing_panics_doc)]
|
238 |
pub fn set_sink_id_sync(&self, sink_id: String) -> Result<(), Box<dyn Error>> {
|
106 |
/// Closes the microphone input stream, releasing the system resources being used.
|
107 |
#[allow(clippy::missing_panics_doc)]
|
108 |
pub fn close(self) {
|
183 |
/// Get the current impulse response buffer
|
184 |
#[allow(clippy::missing_panics_doc)]
|
185 |
pub fn buffer(&self) -> Option<AudioBuffer> {
|
341 |
/// Can panic when loading HRIR-sphere
|
342 |
#[allow(clippy::missing_panics_doc)]
|
343 |
pub fn new<C: BaseAudioContext>(context: &C, options: PannerOptions) -> Self {
|
526 |
// can panic when loading HRIR-sphere
|
527 |
#[allow(clippy::missing_panics_doc)]
|
528 |
pub fn set_panning_model(&self, value: PanningModelType) {
|
3 |
#[allow(clippy::missing_errors_doc, clippy::missing_panics_doc, clippy::module_name_repetitions)]
|
70 |
clippy::result_unit_err,
|
71 |
clippy::missing_panics_doc,
|
72 |
clippy::missing_errors_doc
|
325 |
/// Returns The keysym. If the name is invalid, returns `xkb::KEY_NoSymbol`.
|
326 |
#[allow(clippy::missing_panics_doc)]
|
327 |
#[must_use]
|
617 |
/// the compilation failed.
|
618 |
#[allow(clippy::missing_panics_doc)]
|
619 |
pub fn new_from_names<S: Borrow<str> + ?Sized>(
|
682 |
/// the keymap as one enormous string.
|
683 |
#[allow(clippy::missing_panics_doc)]
|
684 |
#[must_use]
|
708 |
/// apply here.
|
709 |
#[allow(clippy::missing_panics_doc)]
|
710 |
pub unsafe fn new_from_fd(
|
834 |
/// `xkb::MOD_INVALID`.
|
835 |
#[allow(clippy::missing_panics_doc)]
|
836 |
pub fn mod_get_index<S: Borrow<str> + ?Sized>(&self, name: &S) -> ModIndex {
|
167 |
clippy::missing_const_for_fn,
|
168 |
clippy::missing_panics_doc
|
169 |
)] // All of the panics are impossible, or result from a precondition violation (and thus cannot happen)
|
179 |
/// Inserts `value` into the map with `key`, returning the existing value in the slot if present
|
180 |
#[allow(clippy::cast_possible_truncation, clippy::missing_panics_doc)]
|
181 |
pub fn insert(&mut self, key: K, value: V) -> Option<V> {
|
228 |
/// Returns a mutable reference to the value with the given key, inserting `value` in that slot if necessary
|
229 |
#[allow(clippy::cast_possible_truncation, clippy::missing_panics_doc)]
|
230 |
pub fn get_or_insert_mut(&mut self, key: K, value: V) -> &mut V {
|
277 |
/// Returns a mutable reference to the value with the given key, inserting the value produced by `value`
|
278 |
#[allow(clippy::cast_possible_truncation, clippy::missing_panics_doc)]
|
279 |
pub fn get_or_insert_with_mut<F: FnOnce(&K) -> V>(&mut self, key: K, value: F) -> &mut V {
|
145 |
/// Returns very first candle in the sequence
|
146 |
#[allow(clippy::missing_panics_doc)]
|
147 |
pub fn first(&mut self) -> Candle {
|
30 |
/// - If the bit depth provided does not match the size of `T`.
|
31 |
#[allow(clippy::missing_panics_doc)]
|
32 |
pub fn new(
|
203 |
/// new file.
|
204 |
#[allow(clippy::missing_panics_doc)]
|
205 |
pub fn file_complete(&mut self) {
|
29 |
#![deny(nonstandard_style)]
|
30 |
#![allow(clippy::must_use_candidate, clippy::missing_panics_doc, clippy::missing_errors_doc)]
|
31 |
#![warn(future_incompatible)]
|
25 |
clippy::integer_division,
|
26 |
clippy::missing_panics_doc,
|
27 |
clippy::module_name_repetitions,
|
28 |
clippy::missing_errors_doc,
|
29 |
clippy::missing_panics_doc,
|
30 |
clippy::let_underscore_drop
|
25 |
clippy::missing_errors_doc,
|
26 |
clippy::missing_panics_doc,
|
27 |
clippy::let_underscore_drop
|
36 |
clippy::unnecessary_wraps,
|
37 |
clippy::missing_panics_doc,
|
38 |
clippy::let_underscore_drop,
|
56 |
clippy::unused_self,
|
57 |
clippy::missing_panics_doc,
|
58 |
clippy::let_underscore_drop
|
31 |
clippy::too_many_lines,
|
32 |
clippy::missing_panics_doc
|
33 |
)]
|
2 |
#![warn(clippy::pedantic)]
|
3 |
#![allow(clippy::missing_panics_doc)] // TODO
|
222 |
clippy::missing_errors_doc,
|
223 |
clippy::missing_panics_doc,
|
224 |
clippy::module_name_repetitions,
|
25 |
clippy::integer_arithmetic,
|
26 |
clippy::missing_panics_doc,
|
27 |
clippy::mod_module_files,
|
110 |
clippy::missing_errors_doc, // TODO: add error docs
|
111 |
clippy::missing_panics_doc, // TODO: add panic docs
|
112 |
clippy::panic_in_result_fn,
|
7 |
clippy::let_unit_value,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::missing_safety_doc,
|
7 |
clippy::let_unit_value,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::missing_safety_doc,
|
42 |
#![allow(clippy::missing_errors_doc)]
|
43 |
#![allow(clippy::missing_panics_doc)]
|
2 |
#![allow(clippy::missing_errors_doc)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
4 |
#![allow(clippy::cast_possible_truncation)]
|
23 |
#![forbid(unsafe_code)]
|
24 |
#![allow(clippy::must_use_candidate, clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
12 |
)]
|
13 |
#![allow(clippy::missing_panics_doc)]
|
49 |
clippy::cast_ptr_alignment,
|
50 |
clippy::missing_panics_doc,
|
51 |
clippy::too_many_lines,
|
60 |
clippy::cast_ptr_alignment,
|
61 |
clippy::missing_panics_doc,
|
62 |
clippy::too_many_lines,
|
60 |
clippy::cast_ptr_alignment,
|
61 |
clippy::missing_panics_doc,
|
62 |
clippy::too_many_lines,
|
57 |
clippy::cast_ptr_alignment,
|
58 |
clippy::missing_panics_doc,
|
59 |
clippy::too_many_lines,
|
1 |
#![allow(clippy::missing_panics_doc)]
|
45 |
clippy::missing_errors_doc, // TODO clippy::missing_errors_doc
|
46 |
clippy::missing_panics_doc, // TODO clippy::missing_panics_doc
|
47 |
clippy::option_if_let_else,
|
14 |
clippy::missing_errors_doc, // TODO clippy::missing_errors_doc
|
15 |
clippy::missing_panics_doc, // TODO clippy::missing_panics_doc
|
16 |
clippy::option_if_let_else,
|
8 |
clippy::missing_errors_doc,
|
9 |
clippy::missing_panics_doc,
|
10 |
clippy::must_use_candidate
|
45 |
//! ```
|
46 |
#![allow(clippy::missing_panics_doc)]
|
8 |
clippy::missing_errors_doc,
|
9 |
clippy::missing_panics_doc,
|
10 |
clippy::option_if_let_else,
|
22 |
clippy::items_after_statements,
|
23 |
clippy::missing_panics_doc,
|
24 |
clippy::module_name_repetitions,
|
17 |
clippy::items_after_statements,
|
18 |
clippy::missing_panics_doc,
|
19 |
clippy::module_name_repetitions,
|
3 |
clippy::missing_errors_doc,
|
4 |
clippy::missing_panics_doc,
|
5 |
clippy::module_name_repetitions,
|
22 |
clippy::items_after_statements,
|
23 |
clippy::missing_panics_doc,
|
24 |
clippy::module_name_repetitions,
|
17 |
clippy::items_after_statements,
|
18 |
clippy::missing_panics_doc,
|
19 |
clippy::module_name_repetitions,
|
12 |
clippy::missing_errors_doc,
|
13 |
clippy::missing_panics_doc,
|
14 |
clippy::module_name_repetitions,
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::cognitive_complexity, clippy::missing_panics_doc, clippy::too_many_lines)]
|
5 |
clippy::missing_errors_doc,
|
6 |
clippy::missing_panics_doc,
|
7 |
clippy::module_name_repetitions,
|
2 |
clippy::missing_errors_doc,
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::module_name_repetitions,
|
14 |
clippy::missing_errors_doc,
|
15 |
clippy::missing_panics_doc,
|
16 |
clippy::module_name_repetitions,
|
1 |
#![allow(clippy::missing_panics_doc)]
|
1 |
#![allow(clippy::missing_panics_doc)]
|
2 |
clippy::upper_case_acronyms,
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::missing_errors_doc,
|
1 |
#![allow(
|
2 |
clippy::missing_panics_doc,
|
3 |
clippy::shadow_unrelated,
|
1 |
#![warn(clippy::all, clippy::pedantic)]
|
2 |
#![allow(clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
6 |
clippy::missing_errors_doc,
|
7 |
clippy::missing_panics_doc,
|
8 |
clippy::module_name_repetitions,
|
50 |
// yet
|
51 |
clippy::missing_panics_doc,
|
52 |
clippy::missing_errors_doc,
|
74 |
)]
|
75 |
#![allow(clippy::default_trait_access, clippy::missing_panics_doc)]
|
11 |
clippy::missing_errors_doc,
|
12 |
clippy::missing_panics_doc,
|
13 |
clippy::must_use_candidate,
|
40 |
clippy::missing_errors_doc,
|
41 |
clippy::missing_panics_doc,
|
42 |
clippy::module_name_repetitions,
|
3 |
#![warn(clippy::pedantic)]
|
4 |
#![allow(clippy::missing_errors_doc, clippy::missing_panics_doc, clippy::unnecessary_wraps)]
|
25 |
clippy::missing_errors_doc,
|
26 |
clippy::missing_panics_doc,
|
27 |
clippy::module_name_repetitions,
|
88 |
#![no_std]
|
89 |
#![allow(clippy::missing_panics_doc, clippy::ptr_as_ptr)]
|
108 |
#![allow(
|
109 |
clippy::missing_panics_doc,
|
110 |
clippy::needless_doctest_main,
|
9 |
clippy::missing_errors_doc,
|
10 |
clippy::missing_panics_doc,
|
11 |
clippy::doc_markdown
|
1 |
#![allow(clippy::missing_panics_doc)]
|
103 |
#![allow(clippy::missing_errors_doc)]
|
104 |
#![allow(clippy::missing_panics_doc)]
|
2 |
// since the unwraps are safe due to typestate
|
3 |
#![allow(clippy::missing_panics_doc)]
|
4 |
// need complex types to express the typestate
|
2 |
// since the unwraps are safe due to typestate
|
3 |
#![allow(clippy::missing_panics_doc)]
|
4 |
// need complex types to express the typestate
|
5 |
clippy::uninlined_format_args,
|
6 |
clippy::missing_panics_doc
|
7 |
)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_panics_doc)]
|
10 |
#![allow(clippy::module_name_repetitions)]
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::missing_panics_doc,
|
6 |
clippy::cast_ptr_alignment,
|
1 |
#![deny(clippy::pedantic)]
|
2 |
#![allow(clippy::missing_panics_doc)]
|
3 |
clippy::must_use_candidate,
|
4 |
clippy::missing_panics_doc,
|
5 |
clippy::missing_errors_doc,
|
1 |
#![warn(clippy::nursery, clippy::pedantic)]
|
2 |
#![allow(clippy::missing_panics_doc, clippy::must_use_candidate)]
|
1 |
#![warn(clippy::all, clippy::pedantic)]
|
2 |
#![allow(clippy::missing_panics_doc)]
|
3 |
#![doc = include_str!("../README.md")]
|
1 |
#![deny(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
|
2 |
#![allow(clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
3 |
#![allow(clippy::multiple_crate_versions)]
|
130 |
#![allow(clippy::missing_errors_doc)]
|
131 |
#![allow(clippy::missing_panics_doc)]
|
4 |
// panics are bugs
|
5 |
#![allow(clippy::missing_panics_doc)]
|
6 |
// let me name my stuff how i want
|
42 |
#![allow(clippy::missing_errors_doc)]
|
43 |
#![allow(clippy::missing_panics_doc)]
|
6 |
clippy::missing_errors_doc,
|
7 |
clippy::missing_panics_doc
|
8 |
)]
|
1 |
#![allow(clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
2 |
pub mod core;
|
11 |
clippy::match_wildcard_for_single_variants,
|
12 |
clippy::missing_panics_doc,
|
13 |
clippy::module_name_repetitions,
|
53 |
#![allow(clippy::missing_errors_doc)]
|
54 |
#![allow(clippy::missing_panics_doc)]
|
55 |
#![allow(clippy::cast_lossless)]
|
71 |
clippy::missing_errors_doc,
|
72 |
clippy::missing_panics_doc,
|
73 |
clippy::struct_excessive_bools, // for autogen protocol.rs
|
4 |
clippy::missing_errors_doc,
|
5 |
clippy::missing_panics_doc,
|
6 |
clippy::module_name_repetitions,
|
39 |
clippy::module_name_repetitions,
|
40 |
clippy::missing_panics_doc
|
41 |
)]
|
5 |
clippy::missing_errors_doc,
|
6 |
clippy::missing_panics_doc,
|
7 |
clippy::module_name_repetitions,
|
10 |
#![allow(clippy::missing_errors_doc)]
|
11 |
#![allow(clippy::missing_panics_doc)]
|
12 |
#![allow(clippy::wildcard_imports)]
|
9 |
clippy::missing_errors_doc,
|
10 |
clippy::missing_panics_doc,
|
11 |
clippy::module_name_repetitions
|
2 |
#![warn(clippy::pedantic)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
14 |
clippy::missing_errors_doc, // TODO clippy::missing_errors_doc
|
15 |
clippy::missing_panics_doc, // TODO clippy::missing_panics_doc
|
16 |
clippy::option_if_let_else,
|
13 |
clippy::missing_errors_doc, // TODO clippy::missing_errors_doc
|
14 |
clippy::missing_panics_doc, // TODO clippy::missing_panics_doc
|
15 |
clippy::option_if_let_else,
|
14 |
clippy::missing_errors_doc, // TODO clippy::missing_errors_doc
|
15 |
clippy::missing_panics_doc, // TODO clippy::missing_panics_doc
|
16 |
clippy::option_if_let_else,
|
41 |
clippy::undocumented_unsafe_blocks, // FIXME
|
42 |
clippy::missing_panics_doc, // FIXME
|
43 |
clippy::single_char_lifetime_names, // FIXME
|
39 |
// I know what I'm doing with unwraps. They should all be motivated.
|
40 |
clippy::missing_panics_doc,
|
41 |
// When a parameter of a function is prefixed due to `#[cfg]` in an fn.
|
13 |
)]
|
14 |
#![allow(clippy::missing_panics_doc, clippy::too_many_lines)]
|
5 |
#![deny(clippy::all, clippy::pedantic)]
|
6 |
#![allow(clippy::missing_panics_doc)]
|
6 |
#![deny(clippy::all, clippy::perf, clippy::pedantic)]
|
7 |
#![allow(clippy::missing_panics_doc)]
|
15 |
)]
|
16 |
#![allow(clippy::missing_panics_doc)]
|
6 |
clippy::must_use_candidate,
|
7 |
clippy::missing_panics_doc,
|
8 |
clippy::must_use_unit,
|
24 |
clippy::ptr_as_ptr,
|
25 |
clippy::missing_panics_doc,
|
26 |
clippy::missing_docs_in_private_items,
|
12 |
clippy::ptr_as_ptr,
|
13 |
clippy::missing_panics_doc,
|
14 |
clippy::missing_docs_in_private_items,
|
13 |
clippy::ptr_as_ptr,
|
14 |
clippy::missing_panics_doc,
|
15 |
clippy::missing_docs_in_private_items,
|
17 |
clippy::ptr_as_ptr,
|
18 |
clippy::missing_panics_doc,
|
19 |
clippy::missing_docs_in_private_items,
|
12 |
clippy::ptr_as_ptr,
|
13 |
clippy::missing_panics_doc,
|
14 |
clippy::missing_docs_in_private_items,
|
14 |
clippy::ptr_as_ptr,
|
15 |
clippy::missing_panics_doc,
|
16 |
clippy::missing_docs_in_private_items,
|
70 |
clippy::exhaustive_enums,
|
71 |
clippy::missing_panics_doc, // TODO: add panic docs
|
72 |
clippy::panic_in_result_fn,
|
70 |
clippy::exhaustive_enums,
|
71 |
clippy::missing_panics_doc, // TODO: add panic docs
|
72 |
clippy::panic_in_result_fn,
|
114 |
clippy::manual_assert,
|
115 |
clippy::missing_panics_doc,
|
116 |
clippy::must_use_candidate,
|
8 |
#![allow(clippy::needless_borrow)] // &original_text must be borrowed in fn list()
|
9 |
#![allow(clippy::cognitive_complexity, clippy::missing_panics_doc, clippy::too_many_lines)]
|
7 |
clippy::unreadable_literal,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::cast_possible_truncation,
|
16 |
#![allow(clippy::doc_link_with_quotes)]
|
17 |
#![allow(clippy::missing_panics_doc)]
|
18 |
#![allow(clippy::must_use_candidate)]
|
104 |
// Too much work to fix.
|
105 |
clippy::missing_errors_doc, clippy::missing_const_for_fn, clippy::missing_panics_doc,
|
106 |
// Seems should be fixed in `thiserror` crate.
|
71 |
clippy::missing_errors_doc,
|
72 |
clippy::missing_panics_doc,
|
73 |
clippy::struct_excessive_bools, // for autogen protocol.rs
|
31 |
clippy::missing_errors_doc,
|
32 |
clippy::missing_panics_doc,
|
33 |
clippy::module_name_repetitions,
|
30 |
clippy::missing_errors_doc,
|
31 |
clippy::missing_panics_doc,
|
32 |
clippy::module_name_repetitions,
|
31 |
clippy::missing_errors_doc,
|
32 |
clippy::missing_panics_doc,
|
33 |
clippy::module_name_repetitions,
|
32 |
clippy::missing_errors_doc,
|
33 |
clippy::missing_panics_doc,
|
34 |
clippy::module_name_repetitions,
|
31 |
clippy::missing_errors_doc,
|
32 |
clippy::missing_panics_doc,
|
33 |
clippy::module_name_repetitions,
|
30 |
clippy::missing_errors_doc,
|
31 |
clippy::missing_panics_doc,
|
32 |
clippy::module_name_repetitions,
|
31 |
clippy::missing_errors_doc,
|
32 |
clippy::missing_panics_doc,
|
33 |
clippy::module_name_repetitions,
|
103 |
// Too much work to fix.
|
104 |
clippy::missing_errors_doc, clippy::missing_const_for_fn, clippy::missing_panics_doc,
|
105 |
// Seems should be fixed in `thiserror` crate.
|
51 |
clippy::use_self,
|
52 |
clippy::missing_panics_doc,
|
53 |
incomplete_features
|
117 |
#![allow(
|
118 |
clippy::missing_panics_doc,
|
119 |
clippy::unwrap_in_result,
|
172 |
#![allow(
|
173 |
clippy::missing_panics_doc,
|
174 |
clippy::unwrap_in_result,
|
244 |
#![allow(
|
245 |
clippy::missing_panics_doc,
|
246 |
clippy::unwrap_in_result,
|
31 |
clippy::missing_errors_doc,
|
32 |
clippy::missing_panics_doc,
|
33 |
clippy::module_name_repetitions,
|
44 |
clippy::missing_errors_doc,
|
45 |
clippy::missing_panics_doc,
|
46 |
clippy::module_name_repetitions,
|
44 |
clippy::missing_errors_doc,
|
45 |
clippy::missing_panics_doc,
|
46 |
clippy::module_name_repetitions,
|
31 |
clippy::missing_errors_doc,
|
32 |
clippy::missing_panics_doc,
|
33 |
clippy::module_name_repetitions,
|
11 |
#![allow(
|
12 |
clippy::missing_panics_doc,
|
13 |
clippy::ptr_as_ptr,
|
66 |
//! `MPI_Pack_external_size()`
|
67 |
#![allow(clippy::module_name_repetitions, clippy::missing_panics_doc)]
|
68 |
use num_complex::Complex;
|
9 |
//! - **8.3, 8.4, and 8.5**: Error handling
|
10 |
#![allow(clippy::missing_errors_doc, clippy::missing_panics_doc)]
|
11 |
use std::{
|
12 |
//! `MPI_Rsend_init()`, `MPI_Recv_init()`, `MPI_Start()`, `MPI_Startall()`
|
13 |
#![allow(clippy::missing_panics_doc, clippy::ptr_as_ptr)]
|
14 |
use std::alloc::{self, Layout};
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::similar_names, clippy::missing_panics_doc)]
|
9 |
clippy::missing_errors_doc,
|
10 |
clippy::missing_panics_doc,
|
11 |
clippy::module_name_repetitions,
|
5 |
clippy::missing_errors_doc,
|
6 |
clippy::missing_panics_doc,
|
7 |
clippy::module_name_repetitions,
|
17 |
clippy::missing_errors_doc,
|
18 |
clippy::missing_panics_doc,
|
19 |
)]
|
122 |
#![allow(clippy::doc_markdown, clippy::missing_panics_doc)]
|
120 |
clippy::missing_errors_doc,
|
121 |
clippy::missing_panics_doc,
|
122 |
clippy::must_use_candidate,
|
2 |
#![allow(clippy::missing_errors_doc)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
4 |
#![allow(clippy::module_name_repetitions)]
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::cast_precision_loss, clippy::cognitive_complexity, clippy::missing_panics_doc, clippy::similar_names, clippy::too_many_lines, clippy::uninlined_format_args)]
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::cast_precision_loss, clippy::cognitive_complexity, clippy::missing_panics_doc, clippy::similar_names, clippy::too_many_lines, clippy::uninlined_format_args)]
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::missing_panics_doc, clippy::too_many_lines)]
|
16 |
#![warn(clippy::pedantic, clippy::cargo)]
|
17 |
#![allow(clippy::missing_panics_doc)]
|
18 |
#![allow(clippy::cargo_common_metadata)]
|
2 |
#![allow(
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::missing_errors_doc,
|
2 |
#![allow(
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::missing_errors_doc,
|
1 |
#![allow(clippy::missing_panics_doc)]
|
15 |
clippy::missing_errors_doc, // TODO
|
16 |
clippy::missing_panics_doc, // TODO
|
17 |
clippy::option_if_let_else,
|
88 |
unused,
|
89 |
clippy::missing_panics_doc,
|
90 |
clippy::missing_errors_doc,
|
35 |
#![allow(clippy::borrow_deref_ref)] // Leads to a ton of false positives around args of py types.
|
36 |
#![allow(clippy::missing_panics_doc)] // TODO: finalise and document the panics
|
37 |
#![allow(clippy::used_underscore_binding)] // Doesn't work with macros
|
12 |
clippy::missing_const_for_fn,
|
13 |
clippy::missing_panics_doc,
|
14 |
clippy::module_name_repetitions,
|
9 |
clippy::match_same_arms,
|
10 |
clippy::missing_panics_doc,
|
11 |
clippy::module_name_repetitions,
|
7 |
clippy::many_single_char_names,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::must_use_candidate,
|
7 |
clippy::many_single_char_names,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::must_use_candidate,
|
5 |
#![allow(clippy::module_name_repetitions)]
|
6 |
#![allow(clippy::missing_panics_doc)]
|
7 |
#![allow(clippy::use_self)]
|
87 |
clippy::missing_errors_doc,
|
88 |
clippy::missing_panics_doc,
|
89 |
clippy::module_name_repetitions,
|
1 |
#![allow(clippy::missing_panics_doc, clippy::unused_self)]
|
14 |
#![allow(clippy::missing_errors_doc)]
|
15 |
#![allow(clippy::missing_panics_doc)]
|
141 |
clippy::manual_assert,
|
142 |
clippy::missing_panics_doc,
|
143 |
clippy::missing_safety_doc,
|
324 |
clippy::match_same_arms,
|
325 |
clippy::missing_panics_doc,
|
326 |
clippy::module_name_repetitions,
|
34 |
clippy::missing_errors_doc, // Errors obvious or complex --- easier to look at error type
|
35 |
clippy::missing_panics_doc, // Maybe be logically impossible or only in extreme cases
|
36 |
clippy::module_name_repetitions, // Types pub exported in different modeule.
|
3 |
#![allow(clippy::semicolon_if_nothing_returned)]
|
4 |
#![allow(clippy::missing_panics_doc)]
|
5 |
#![allow(clippy::missing_errors_doc)]
|
3 |
#![allow(clippy::missing_errors_doc)]
|
4 |
#![allow(clippy::missing_panics_doc)]
|
5 |
#![allow(clippy::cast_possible_wrap)]
|
71 |
#![allow(clippy::missing_errors_doc)]
|
72 |
#![allow(clippy::missing_panics_doc)]
|
73 |
#![allow(clippy::used_underscore_binding)]
|
70 |
clippy::ptr_as_ptr,
|
71 |
clippy::missing_panics_doc,
|
72 |
clippy::from_over_into,
|
70 |
clippy::ptr_as_ptr,
|
71 |
clippy::missing_panics_doc,
|
72 |
clippy::from_over_into,
|
18 |
#![allow(clippy::match_same_arms)]
|
19 |
#![allow(clippy::missing_panics_doc)]
|
20 |
#![allow(clippy::type_complexity)]
|
43 |
clippy::implicit_return,
|
44 |
clippy::missing_panics_doc,
|
45 |
clippy::missing_errors_doc,
|
2 |
clippy::implicit_return,
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::missing_errors_doc,
|
4 |
clippy::missing_errors_doc,
|
5 |
clippy::missing_panics_doc
|
6 |
)]
|
94 |
clippy::many_single_char_names,
|
95 |
clippy::missing_panics_doc,
|
96 |
clippy::module_name_repetitions,
|
68 |
clippy::many_single_char_names,
|
69 |
clippy::missing_panics_doc,
|
70 |
clippy::module_name_repetitions,
|
90 |
clippy::missing_errors_doc,
|
91 |
clippy::missing_panics_doc,
|
92 |
clippy::module_name_repetitions,
|
1 |
#![allow(
|
2 |
clippy::missing_panics_doc,
|
3 |
clippy::shadow_unrelated,
|
8 |
clippy::manual_map,
|
9 |
clippy::missing_panics_doc,
|
10 |
clippy::redundant_field_names,
|
148 |
clippy::missing_errors_doc,
|
149 |
clippy::missing_panics_doc,
|
150 |
clippy::module_name_repetitions,
|
155 |
missing_docs_in_private_items,
|
156 |
missing_panics_doc,
|
157 |
module_name_repetitions,
|
150 |
clippy::manual_map,
|
151 |
clippy::missing_panics_doc,
|
152 |
clippy::never_loop,
|
72 |
// Covered by other lints
|
73 |
clippy::missing_panics_doc, // clippy::unwrap_used
|
74 |
)]
|
2 |
#![allow(
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::missing_errors_doc,
|
2 |
#![allow(
|
3 |
clippy::missing_panics_doc,
|
4 |
clippy::missing_errors_doc,
|
3 |
#![allow(clippy::needless_return, clippy::redundant_field_names)]
|
4 |
#![allow(clippy::use_self, clippy::too_many_lines, clippy::missing_panics_doc)]
|
18 |
clippy::missing_errors_doc,
|
19 |
clippy::missing_panics_doc
|
20 |
)]
|
1 |
#![allow(clippy::missing_panics_doc, clippy::missing_errors_doc)]
|
16 |
#![allow(clippy::derive_hash_xor_eq)]
|
17 |
#![allow(clippy::missing_panics_doc)]
|
2 |
#![allow(clippy::missing_errors_doc)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
4 |
#![allow(clippy::must_use_candidate)]
|
6 |
//@todo fix this.
|
7 |
#![allow(clippy::missing_panics_doc)]
|
8 |
//@todo remove eventually
|
204 |
#![allow(
|
205 |
clippy::missing_panics_doc,
|
206 |
clippy::must_use_candidate,
|
10 |
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
|
11 |
#![allow(clippy::missing_errors_doc, clippy::missing_panics_doc, clippy::must_use_candidate)]
|
12 |
// warn on the same lints as `clippy_lints`
|
2 |
#![feature(slice_flatten)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
10 |
#![allow(clippy::missing_errors_doc)]
|
11 |
#![allow(clippy::missing_panics_doc)]
|
12 |
#![allow(clippy::wildcard_imports)]
|
6 |
clippy::items_after_statements,
|
7 |
clippy::missing_panics_doc,
|
8 |
clippy::must_use_candidate
|
274 |
clippy::missing_errors_doc,
|
275 |
clippy::missing_panics_doc,
|
276 |
clippy::module_name_repetitions,
|
13 |
)]
|
14 |
#![allow(clippy::doc_markdown, clippy::missing_panics_doc)]
|
15 |
#![forbid(unsafe_code)]
|
8 |
clippy::missing_errors_doc,
|
9 |
clippy::missing_panics_doc,
|
10 |
clippy::similar_names,
|
8 |
clippy::missing_errors_doc,
|
9 |
clippy::missing_panics_doc,
|
10 |
clippy::similar_names,
|
2 |
#![allow(clippy::missing_errors_doc)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
11 |
#![deny(clippy::pedantic)]
|
12 |
#![allow(clippy::missing_safety_doc, clippy::missing_panics_doc)]
|
13 |
#![cfg_attr(
|
13 |
#![allow(clippy::missing_panics_doc)]
|
14 |
#![allow(clippy::unwrap_used)]
|
7 |
clippy::needless_pass_by_value,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::module_name_repetitions,
|
9 |
clippy::missing_const_for_fn,
|
10 |
clippy::missing_panics_doc,
|
11 |
clippy::must_use_candidate,
|
3 |
#![allow(
|
4 |
clippy::missing_panics_doc,
|
5 |
clippy::must_use_candidate,
|
49 |
#![allow(
|
50 |
clippy::missing_panics_doc,
|
51 |
clippy::module_name_repetitions,
|
24 |
clippy::manual_swap,
|
25 |
clippy::missing_panics_doc,
|
26 |
clippy::missing_safety_doc,
|
27 |
clippy::missing_errors_doc,
|
28 |
clippy::missing_panics_doc,
|
29 |
clippy::cast_possible_truncation,
|
41 |
clippy::exhaustive_enums,
|
42 |
clippy::missing_panics_doc, // TODO: add panic docs
|
43 |
clippy::panic_in_result_fn,
|
39 |
clippy::exhaustive_enums,
|
40 |
clippy::missing_panics_doc, // TODO: add panic docs
|
41 |
clippy::panic_in_result_fn,
|
2 |
#![warn(clippy::pedantic)]
|
3 |
#![allow(clippy::missing_panics_doc)]
|
11 |
#![allow(clippy::module_name_repetitions)]
|
12 |
#![allow(clippy::missing_panics_doc)]
|
13 |
#![allow(clippy::too_many_lines)]
|
3 |
#![allow(clippy::missing_errors_doc)]
|
4 |
#![allow(clippy::missing_panics_doc)]
|
5 |
#![allow(clippy::match_bool)]
|
3 |
#![allow(clippy::missing_errors_doc)]
|
4 |
#![allow(clippy::missing_panics_doc)]
|
61 |
)]
|
62 |
#![allow(clippy::missing_panics_doc)]
|
85 |
clippy::missing_errors_doc,
|
86 |
clippy::missing_panics_doc,
|
87 |
clippy::must_use_candidate,
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::missing_panics_doc)]
|
7 |
#![warn(clippy::nursery, clippy::pedantic)]
|
8 |
#![allow(clippy::cognitive_complexity, clippy::missing_panics_doc, clippy::similar_names, clippy::too_many_lines)]
|
93 |
#![allow(clippy::struct_excessive_bools)]
|
94 |
#![allow(clippy::missing_panics_doc)]
|
95 |
#![allow(clippy::must_use_candidate)]
|
80 |
clippy::module_name_repetitions,
|
81 |
clippy::missing_panics_doc,
|
82 |
clippy::missing_errors_doc
|