Skip to content

Commit aaf95bb

Browse files
committed
Remove unused ByteInnerSplitlinesOptions
1 parent 58bfd1d commit aaf95bb

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

vm/src/obj/objbyteinner.rs

-20
Original file line numberDiff line numberDiff line change
@@ -231,26 +231,6 @@ impl ByteInnerTranslateOptions {
231231

232232
pub type ByteInnerSplitOptions<'a> = pystr::SplitArgs<'a, PyByteInner, [u8], u8>;
233233

234-
#[derive(FromArgs)]
235-
pub struct ByteInnerSplitlinesOptions {
236-
#[pyarg(positional_or_keyword, optional = true)]
237-
keepends: OptionalArg<bool>,
238-
}
239-
240-
impl ByteInnerSplitlinesOptions {
241-
pub fn get_value(self) -> bool {
242-
match self.keepends.into_option() {
243-
Some(x) => x,
244-
None => false,
245-
}
246-
// if let OptionalArg::Present(value) = self.keepends {
247-
// Ok(bool::try_from_object(vm, value)?)
248-
// } else {
249-
// Ok(false)
250-
// }
251-
}
252-
}
253-
254234
#[allow(clippy::len_without_is_empty)]
255235
impl PyByteInner {
256236
pub fn repr(&self) -> String {

0 commit comments

Comments
 (0)