290 |
#[cfg(test)]
|
291 |
#[allow(clippy::expect_fun_call)]
|
292 |
mod tests {
|
243 |
#[cfg(test)]
|
244 |
#[allow(clippy::expect_fun_call)]
|
245 |
pub(crate) mod tests {
|
624 |
for (testcase_num, testcase) in testcases.iter().enumerate() {
|
625 |
#[allow(clippy::expect_fun_call)]
|
626 |
let serialized = serde_json::to_string(testcase)
|
627 |
.expect(format!("Failed to serialize testcase {}", testcase_num).as_str());
|
628 |
#[allow(clippy::expect_fun_call)]
|
629 |
let deserialized: Op = serde_json::from_str(&serialized)
|
845 |
let timestamp = Utc::now().timestamp();
|
846 |
#[allow(clippy::expect_fun_call)]
|
847 |
stmt.execute(params![key, data, ×tamp])
|
205 |
#[allow(clippy::expect_fun_call)]
|
206 |
fn assert_match(&self, path: impl AsRef<Path>) -> Result<()> {
|
57 |
#[allow(clippy::expect_fun_call)]
|
58 |
#[cfg(test)]
|
846 |
let timestamp = Utc::now().timestamp();
|
847 |
#[allow(clippy::expect_fun_call)]
|
848 |
stmt.execute(params![key, data, ×tamp])
|
76 |
/// `pure_records`, the `Default` implementation of Self::Binary is used.
|
77 |
#[allow(clippy::expect_fun_call)]
|
78 |
fn binary_matrix_from_records(
|
105 |
let path = Path::new(&context.data_dir).join(format!("rgroup_{}", raft_group_id));
|
106 |
#[allow(clippy::expect_fun_call)]
|
107 |
fs::create_dir_all(&path).expect(&format!("Failed to create data dir: {:?}", &path));
|
82 |
let data_dir = Path::new(node_dir).join("data");
|
83 |
#[allow(clippy::expect_fun_call)]
|
84 |
fs::create_dir_all(&data_dir)
|
57 |
// explicitly panicking within a `unwrap_or_else` isn't better.
|
58 |
#[allow(clippy::expect_fun_call)]
|
59 |
let result = dot_get_opt!(response, "errors.0.message", String)
|
35 |
/// Converts this [`RawMethod`] into a [`Method`].
|
36 |
#[allow(clippy::expect_fun_call)]
|
37 |
pub fn into_method(self, var_to_idx: &HashMap<String, usize>) -> Method<T>
|
770 |
#[allow(clippy::expect_fun_call)]
|
771 |
/// In the event of an unrecoverable error in a native module
|
149 |
#[allow(clippy::expect_fun_call)]
|
150 |
let required_str = get_min_required_version(self.get_driver());
|
195 |
#[allow(clippy::expect_fun_call)]
|
196 |
async fn run(basename: &str) {
|
300 |
#[allow(clippy::expect_fun_call)]
|
301 |
fn parse_file(f: File, filename: &PathBuf) -> Request<Bytes> {
|
739 |
#[inline]
|
740 |
#[allow(clippy::expect_fun_call)]
|
741 |
/// In the event of an unrecoverable error in a native module
|
5 |
clippy::needless_borrow,
|
6 |
clippy::expect_fun_call,
|
7 |
clippy::single_match_else,
|
1 |
#![allow(clippy::expect_fun_call, clippy::or_fun_call)]
|
1 |
#![allow(clippy::expect_fun_call)] // My calls are so fun
|
12 |
#![allow(clippy::expect_fun_call)]
|
13 |
#![allow(clippy::map_flatten)]
|
21 |
clippy::nonminimal_bool,
|
22 |
clippy::expect_fun_call,
|
23 |
clippy::many_single_char_names
|
21 |
clippy::nonminimal_bool,
|
22 |
clippy::expect_fun_call,
|
23 |
clippy::many_single_char_names
|
10 |
#![allow(clippy::needless_return)]
|
11 |
#![allow(clippy::expect_fun_call)]
|
12 |
#![allow(clippy::or_fun_call)]
|
9 |
#![allow(clippy::needless_return)]
|
10 |
#![allow(clippy::expect_fun_call)]
|
11 |
#![allow(clippy::or_fun_call)]
|
1 |
#![allow(clippy::expect_fun_call)]
|
2 |
extern crate env_logger;
|
1 |
#![allow(clippy::cognitive_complexity, clippy::expect_fun_call)]
|
2 |
extern crate color_backtrace;
|
4 |
clippy::many_single_char_names,
|
5 |
clippy::expect_fun_call,
|
6 |
clippy::useless_format,
|