153 |
#[allow(clippy::uninit_vec)]
|
154 |
#[allow(clippy::unused_io_amount)]
|
155 |
fn read_offset(file: &mut File, offset: u64, length: usize) -> Result<Bytes, std::io::Error> {
|
911 |
#[test]
|
912 |
#[allow(clippy::unused_io_amount)]
|
913 |
fn buf_reader() {
|
63 |
// we don't expect to be working with any DNS datagrams larger than 512 bytes.
|
64 |
#[allow(clippy::unused_io_amount)]
|
65 |
pub fn fill_from_file(&mut self, path: &str) -> Result<()> {
|
533 |
#[test]
|
534 |
#[allow(clippy::unused_io_amount)]
|
535 |
fn test_inner_stream_nonblocking() {
|
128 |
#[allow(unused_variables, unused_assignments, clippy::unused_io_amount)]
|
129 |
pub fn from_mtl_line(params: &mut SplitWhitespace, path: &str, queue: Arc<Queue>) -> Result<(Arc<Texture>, Box<dyn GpuFuture>), &'static str> {
|
237 |
{
|
238 |
#[allow(clippy::unused_io_amount)]
|
239 |
fn to_bytes(&mut self) -> Vec<u8> {
|
256 |
{
|
257 |
#[allow(clippy::unused_io_amount)]
|
258 |
fn from_bytes(bytes: &[u8]) -> io::Result<Self> {
|
166 |
#[cfg(not(windows))]
|
167 |
#[allow(clippy::unused_io_amount)]
|
168 |
pub fn getch(&self) -> Result<Key, std::io::Error> {
|
53 |
// to read_exact
|
54 |
#[allow(clippy::unused_io_amount)]
|
55 |
loop {
|
30 |
/// * Was not able to flush the stream
|
31 |
#[allow(clippy::unused_io_amount)]
|
32 |
pub fn handle_connection(mut stream: TcpStream) -> Result<(), Box<dyn Error>> {
|
61 |
#[allow(unused)]
|
62 |
#[allow(clippy::unused_io_amount)]
|
63 |
fn diff_copy(src: &PathBuf, dest: &PathBuf) -> Result<(), io::Error> {
|
60 |
#[allow(unused)]
|
61 |
#[allow(clippy::unused_io_amount)]
|
62 |
fn diff_copy(src: &PathBuf, dest: &PathBuf) -> Result<(), io::Error> {
|
31 |
#[allow(clippy::unused_io_amount)]
|
32 |
fn zip_entry<T: Write + Seek>(
|
120 |
#[allow(clippy::unused_io_amount)]
|
121 |
fn flush(&mut self) -> io::Result<()> {
|
49 |
/// ```
|
50 |
#[allow(clippy::unused_io_amount)]
|
51 |
pub fn decode_plantuml_deflate<T: AsRef<str>>(
|
49 |
let mut f = File::create(&file_path).unwrap();
|
50 |
#[allow(clippy::unused_io_amount)]
|
51 |
f.write(TEXT.as_bytes()).unwrap();
|
378 |
let mut f = File::create(&file_path).unwrap();
|
379 |
#[allow(clippy::unused_io_amount)]
|
380 |
f.write(TEXT.as_bytes()).unwrap();
|
396 |
let mut f = File::create(&file_path).unwrap();
|
397 |
#[allow(clippy::unused_io_amount)]
|
398 |
f.write(TEXT.as_bytes()).unwrap();
|
367 |
#[allow(clippy::unused_io_amount)]
|
368 |
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
|
166 |
#[cfg(not(windows))]
|
167 |
#[allow(clippy::unused_io_amount)]
|
168 |
pub fn getch(&self) -> Result<Key, std::io::Error> {
|
110 |
#[allow(clippy::unused_io_amount)]
|
111 |
async fn write_result<W>(&self, writer: &mut W, result: String) -> Result<()>
|
594 |
#[allow(clippy::unused_io_amount)]
|
595 |
fn write_all(&mut self, buf: &[u8]) -> io::Result<()> {
|
249 |
#[inline]
|
250 |
#[allow(clippy::unused_io_amount)]
|
251 |
pub fn read_byte<R>(reader: &mut R) -> Result<u8, DecodeErrors>
|
18 |
clippy::derive_hash_xor_eq,
|
19 |
clippy::unused_io_amount,
|
20 |
clippy::new_without_default
|
1 |
#![allow(clippy::unused_io_amount)]
|
1 |
#![allow(clippy::unused_io_amount)]
|
1 |
#![allow(clippy::unused_io_amount)]
|
2 |
#![allow(clippy::map_entry)]
|
1 |
#![allow(clippy::unused_io_amount)]
|
6 |
#![allow(clippy::unused_io_amount)]
|
7 |
#![allow(clippy::match_overlapping_arm)]
|
1 |
#![allow(clippy::unused_io_amount, clippy::too_many_arguments)]
|
1 |
#![allow(clippy::unused_io_amount)]
|
1 |
#![allow(clippy::unused_io_amount)]
|
10 |
#![allow(clippy::print_literal)]
|
11 |
#![allow(clippy::unused_io_amount)]
|