mirror of
https://github.com/openai/codex.git
synced 2026-10-21 09:54:56 +00:00
Remove unused RtOptions setters (#34552)
GitOrigin-RevId: 597fc842f1e7fa880982eb16e7641ce7fd901ae4
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user