From 4c2dc5d2858822a9db82091cc17e06d34880df48 Mon Sep 17 00:00:00 2001 From: jif Date: Tue, 21 Jul 2026 14:11:01 +0000 Subject: [PATCH] Remove unused RtOptions setters (#34552) GitOrigin-RevId: 597fc842f1e7fa880982eb16e7641ce7fd901ae4 --- codex-rs/tui/src/wrapping.rs | 12 ------------ 1 file changed, 12 deletions(-) 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,