This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hey everyone 👋 | |
| I just published a new repository on GitHub to bring a sidebar file explorer / treeview to Helix, using Yazi and Tmux: | |
| 🔗 https://github.com/MicroDevX/TreeView-for-helix | |
| Check it out and let me know what you think! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fn main() { | |
| let s1 = String::from("hello"); | |
| let s2 = s1; // s1 is "moved" to s2 here | |
| // println!("{}", s1); | |
| // ^ Un-commenting the line above would cause a compile error! | |
| // This prevents "double-free" memory bugs. | |
| println!("{}", s2); // This works perfectly. | |
| } |