diff --git a/codex-rs/tui/src/wrapping.rs b/codex-rs/tui/src/wrapping.rs index 043b5d5319..1636360def 100644 --- a/codex-rs/tui/src/wrapping.rs +++ b/codex-rs/tui/src/wrapping.rs @@ -600,7 +600,6 @@ impl From 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,