sunface / rust-course

“连续六年成为全世界最受喜爱的语言,无 GC 也无需手动内存管理、极高的性能和安全性、过程/OO/函数式编程、优秀的包管理、JS 未来基石" — 工作之余的第二语言来试试 Rust 吧。<<Rust语言圣经>>拥有全面且深入的讲解、生动贴切的示例、德芙般丝滑的内容,甚至还有JS程序员关注的 WASM 和 Deno 等专题。这可能是目前最用心的 Rust 中文学习教程 / Book
https://course.rs
24.23k stars 2.08k forks source link

Consistent 'Cannot read properties of undefined' Error in Rust Code Samples. #1341

Closed Raine-Yang-UofT closed 7 months ago

Raine-Yang-UofT commented 7 months ago

I'm encountering an error consistently across Rust code samples on the course book and practices.

Steps to Reproduce: 1 Visit any Rust code sample. 2 Attempt to run the code. An error would occur: Playground Communication: Cannot read properties of undefined (reading 'trim')

I have ensured that there is no problem with my Internet connection, and the issue persists even after I cleared cache and tried incognito mode. This issue occurs on both Chrome (version 119.0.6045.200) and Edge ( 120.0.2210.61) on Windows 11.

Screenshots: 1 Rust Course 2.4.5 Array, code snippet 1

屏幕截图 2023-12-09 140217

2 Rust by Practice 6.1 String, code snippet 2

屏幕截图 2023-12-09 140246