Remove unused RtOptions setters (#34552)

GitOrigin-RevId: 597fc842f1e7fa880982eb16e7641ce7fd901ae4
This commit is contained in:
jif
2026-07-21 14:21:00 +00:00
committed by copyberry
parent b5b8a63fea
commit 4c2dc5d285
-12
View File
@@ -600,7 +600,6 @@ impl From<usize> for RtOptions<'_> {
}
}
#[allow(dead_code)]
impl<'a> RtOptions<'a> {
pub fn new(width: usize) -> Self {
RtOptions {
@@ -615,17 +614,6 @@ impl<'a> RtOptions<'a> {
}
}
pub fn line_ending(self, line_ending: textwrap::LineEnding) -> Self {
RtOptions {
line_ending,
..self
}
}
pub fn width(self, width: usize) -> Self {
RtOptions { width, ..self }
}
pub fn initial_indent(self, initial_indent: Line<'a>) -> Self {
RtOptions {
initial_indent,