Skip to content

Commit 9bf6cc3

Browse files
committed
fix typo
1 parent 26dc2e9 commit 9bf6cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/stdlib/pwd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ mod pwd {
103103
let mut list = Vec::new();
104104

105105
unsafe { libc::setpwent() };
106-
while let Some(ptr) = str::ptr::NonNull::new(unsafe { libc::getpwent() }) {
106+
while let Some(ptr) = std::ptr::NonNull::new(unsafe { libc::getpwent() }) {
107107
let user = User::from(unsafe { ptr.as_ref() });
108108
let passwd = Passwd::from(user).to_pyobject(vm);
109109
list.push(passwd);

0 commit comments

Comments
 (0)