103 |
}
|
104 |
#[allow(clippy::write_with_newline)]
|
105 |
write!(dst.writer(), "{}\r\n", len)?;
|
34 |
/// Returns `ErrorKind::WriteZero` when `buf` is not big enough to hold the event data.
|
35 |
#[allow(clippy::write_with_newline)]
|
36 |
pub fn write_to(&self, mut buf: &mut [u8]) -> Result<usize, std::io::Error> {
|
51 |
#[allow(clippy::write_with_newline)]
|
52 |
pub fn push_to(&self, buf: &mut Vec<u8>) {
|
103 |
}
|
104 |
#[allow(clippy::write_with_newline)]
|
105 |
write!(dst.writer(), "{}\r\n", len)?;
|
66 |
impl MccEnc {
|
67 |
#[allow(clippy::write_with_newline)]
|
68 |
fn generate_headers(&self, _state: &State, buffer: &mut Vec<u8>) -> Result<(), gst::FlowError> {
|
18 |
/// Write an http/1.1 request to a buffer.
|
19 |
#[allow(clippy::write_with_newline)]
|
20 |
pub fn write_http1x_req(req: &http::Request<()>, buf: &mut [u8]) -> Result<usize, io::Error> {
|
91 |
/// Write an http/1.x response to a buffer.
|
92 |
#[allow(clippy::write_with_newline)]
|
93 |
pub fn write_http1x_res(res: &http::Response<()>, buf: &mut [u8]) -> Result<usize, io::Error> {
|
208 |
use core::fmt::Write;
|
209 |
#[allow(clippy::write_with_newline)]
|
210 |
write!(self, "\r\n").expect("Newline");
|
88 |
fn newline<W: Write, N: traits::Newline>(writer: &mut W, _node: &N) -> io::Result<()> {
|
89 |
#[allow(clippy::write_with_newline)]
|
90 |
write!(writer, "<br />\n")?;
|
69 |
Yaml::Sequence(..) | Yaml::Mapping(..) => {
|
70 |
#[allow(clippy::write_with_newline)]
|
71 |
write!(f, "\n")?;
|
111 |
print_yaml(&entry.value, indent, f, PrintStyle::Block)?;
|
112 |
#[allow(clippy::write_with_newline)]
|
113 |
write!(f, "\n")?;
|
115 |
Yaml::Sequence(..) | Yaml::Mapping(..) => {
|
116 |
#[allow(clippy::write_with_newline)]
|
117 |
write!(f, "\n")?;
|
1358 |
#[allow(deprecated)]
|
1359 |
#[allow(clippy::write_with_newline)]
|
1360 |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
268 |
#[allow(clippy::write_with_newline)]
|
269 |
fn to_formatted_snbt(&self, indent: &mut String, f: &mut Formatter<'_>) -> fmt::Result {
|
822 |
#[allow(clippy::write_with_newline)]
|
823 |
fn to_formatted_snbt(&self, indent: &mut String, f: &mut Formatter<'_>) -> fmt::Result {
|
1251 |
#[allow(clippy::write_with_newline)]
|
1252 |
fn to_formatted_snbt(&self, indent: &mut String, f: &mut Formatter<'_>) -> fmt::Result {
|
103 |
}
|
104 |
#[allow(clippy::write_with_newline)]
|
105 |
write!(dst.writer(), "{}\r\n", len)?;
|
231 |
#[allow(clippy::write_with_newline)]
|
232 |
fn send_command(writer: &mut impl Write, command: String) -> Result<(), io::Error> {
|
177 |
for i in 0..20 {
|
178 |
#[allow(clippy::write_with_newline)]
|
179 |
write!(writer, "The numbers are {} and {}\n", 42 + i, 1.0 / 3.0).unwrap();
|
103 |
}
|
104 |
#[allow(clippy::write_with_newline)]
|
105 |
write!(dst.writer(), "{}\r\n", len)?;
|
34 |
/// Returns `ErrorKind::WriteZero` when `buf` is not big enough to hold the event data.
|
35 |
#[allow(clippy::write_with_newline)]
|
36 |
pub fn write_to(&self, mut buf: &mut [u8]) -> Result<usize, std::io::Error> {
|
51 |
#[allow(clippy::write_with_newline)]
|
52 |
pub fn push_to(&self, buf: &mut Vec<u8>) {
|
42 |
#[allow(clippy::write_with_newline)]
|
43 |
pub(crate) fn make_response(
|
400 |
/// Send request line + headers (all up until the body).
|
401 |
#[allow(clippy::write_with_newline)]
|
402 |
fn send_prelude(unit: &Unit, stream: &mut Stream) -> io::Result<()> {
|
139 |
/// must be specified. The input_filename ends up as the filename in the yenc header.
|
140 |
#[allow(clippy::write_with_newline)]
|
141 |
pub fn encode_stream<R, W>(
|
15 |
#[allow(clippy::write_with_newline)]
|
16 |
fn encode(&mut self, p: Packet, dst: &mut BytesMut) -> Result<(), Self::Error> {
|
83 |
#![allow(clippy::trivially_copy_pass_by_ref)]
|
84 |
#![allow(clippy::write_with_newline)]
|
1 |
#![allow(clippy::write_with_newline)]
|
3 |
#![allow(clippy::write_with_newline)]
|
4 |
use std::marker::PhantomData;
|
1 |
#![allow(clippy::write_with_newline)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
1 |
#![allow(clippy::write_with_newline)]
|
7 |
#![allow(clippy::write_with_newline)]
|
1 |
//! Cursion is a pure Rust, cursor optimization library to avoid flickering in terminal like Curses.
|
2 |
#![allow(clippy::write_with_newline, clippy::write_literal)]
|
3 |
#![warn(missing_docs)]
|
22 |
fn main() -> io::Result<()> {
|
23 |
#![allow(clippy::write_with_newline)]
|
12 |
#![allow(clippy::single_match)]
|
13 |
#![allow(clippy::write_with_newline)]
|
9 |
// We need to allow writes with newlines, resulting from `net_trace!` calls.
|
10 |
#![allow(clippy::write_with_newline)]
|
11 |
// Almost all of our types are fairly readable, but trigger the type complexity checks, probably
|
3 |
// We do write! + '\r\n' and don't want to hide the line ending in a writeln!
|
4 |
#![allow(clippy::write_with_newline)]
|
1 |
#![allow(clippy::write_with_newline)]
|
217 |
{
|
218 |
#![allow(clippy::write_with_newline)]
|
219 |
match *value {
|
283 |
{
|
284 |
#![allow(clippy::write_with_newline)]
|
285 |
match *value {
|
253 |
{
|
254 |
#![allow(clippy::write_with_newline)]
|
255 |
match *value {
|
1 |
#![allow(clippy::write_with_newline)]
|
1 |
#![allow(clippy::write_with_newline)]
|
10 |
//! in [`crate::driver`] instead.
|
11 |
#![allow(clippy::write_with_newline)]
|
33 |
#![allow(clippy::while_let_on_iterator)]
|
34 |
#![allow(clippy::write_with_newline)]
|
313 |
{
|
314 |
#![allow(clippy::write_with_newline)]
|
315 |
match *value {
|
337 |
{
|
338 |
#![allow(clippy::write_with_newline)]
|
339 |
match *value {
|
135 |
#![allow(clippy::trivially_copy_pass_by_ref)]
|
136 |
#![allow(clippy::write_with_newline)]
|
625 |
// so we need to ignore this nitpicky lint.
|
626 |
#![allow(clippy::write_with_newline)]
|
1 |
#![forbid(unsafe_code)]
|
2 |
#![allow(clippy::write_with_newline)]
|
3 |
#[macro_use]
|
10 |
wrong_self_convention,
|
11 |
write_with_newline,
|
12 |
)
|
4 |
#![allow(clippy::write_with_newline)]
|
236 |
{
|
237 |
#![allow(clippy::write_with_newline)]
|
238 |
match *value {
|
18 |
#![allow(clippy::wrong_self_convention)] // perhaps `Rc` should be special-cased in Clippy?
|
19 |
#![allow(clippy::write_with_newline)] // too pedantic
|
20 |
#![allow(clippy::inefficient_to_string)] // this causes suggestions that result in `(*s).to_string()`
|
3 |
#![allow(
|
4 |
clippy::write_with_newline,
|
5 |
clippy::type_complexity,
|