forked from extern/nushell
# Description Fixes: #9498 Actually we don't need this pr if the upstream pr is merged: https://github.com/ogham/rust-users/pull/45 But it doesn't have any commit since 2021, and the author seems not active on github now, I think we have to copy the function into nushell to get relative issue fixed...