mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Remove trailing whitespace from sequence TODO (#8291)
Apply the maintainer review suggestion from RustPython/RustPython#8270. Codex inspected the review context, made the one-line whitespace-only edit, and ran validation. Assisted-by: Codex:gpt-5
This commit is contained in:
1 parent
452f2b0e5b
commit
ad83949471
1 file changed
+1
-1
@@ -124,7 +124,7 @@ where
|
||||
let n = vm.check_repeat_or_overflow_error(self.as_ref().len(), n)?;
|
||||
|
||||
if n > 1 && core::mem::size_of_val(self.as_ref()) >= MAX_MEMORY_SIZE / n {
|
||||
// TODO: make a global static NoMemory shared exc object and return its reference.
|
||||
// TODO: make a global static NoMemory shared exc object and return its reference.
|
||||
return Err(vm.new_memory_error(""));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user