Use new_os_subtype_error for termios error construction · RustPython/RustPython@188d438 · GitHub
Skip to content

Commit 188d438

Browse files
committed
Use new_os_subtype_error for termios error construction
- Replace manual exception creation with new_os_subtype_error in termios - Remove redundant .to_owned() calls in os.link() error messages
1 parent 24b6f48 commit 188d438

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

crates/stdlib/src/termios.rs

Lines changed: 4 additions & 5 deletions

crates/vm/src/stdlib/os.rs

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)