You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's just an opinion but, I think, the formula for showing multiple files in one code block makes it really confusing to read. It would be much better for multiple files to use multiple code blocks.
This is what we have now.
// 01. greetings/Cargo.toml to mark as a workspace and to add members
[workspace]
members = [
"lib",
"examples/hello"
]
// 02.1 greetings/lib/Cargo.toml to change the package name to greetings
[package]
name = "greetings"
version = "0.1.0"
authors = ["Dumindu Madunuwan"]
[dependencies]
It would be better like this.
greetings/Cargo.toml to mark as a workspace and to add members
[workspace]
members = [
"lib",
"examples/hello"
]
greetings/lib/Cargo.toml to change the package name to greetings
[package]
name = "greetings"
version = "0.1.0"
authors = ["Dumindu Madunuwan"]
[dependencies]
The text was updated successfully, but these errors were encountered:
I just stumbled upon this website and its very informative, much better than the official book. I agree its hard to know where a file starts and ends. Multiple codeblocks would definitely help.
It's just an opinion but, I think, the formula for showing multiple files in one code block makes it really confusing to read. It would be much better for multiple files to use multiple code blocks.
This is what we have now.
It would be better like this.
The text was updated successfully, but these errors were encountered: