Make os::change_dir() return IoResult<()>
os::change_dir() returns bool, without a meaningful error message. Change it to return IoResult<()> to indicate what IoError caused the failure. Fixes #16315. [breaking-change]
Showing
想要评论请 注册 或 登录