Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[idioms/ctor] adds default constructor section #280

Merged

Conversation

wookietreiber
Copy link
Contributor

First, I replaced the Vec example with Second. This is easier to comprehend compared to the more complex Vec example. It's also testable because it doesn't rely on RawVec.


Discussion: #276

idioms/ctor.md Outdated Show resolved Hide resolved
First, I replaced the `Vec` example with `Second`. This is easier to
comprehend compared to the more complex `Vec` example. It's also
testable because it doesn't rely on `RawVec`.
@simonsan
Copy link
Collaborator

@wookietreiber Please don't force-push the branch, so we can keep review history.

wookietreiber and others added 4 commits November 20, 2021 11:53
replaces fn main examples with rustdoc examples
links to *associated function* to the book
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
@simonsan
Copy link
Collaborator

Anything else to add? @wookietreiber @pickfire @MarcoIeni

simonsan
simonsan previously approved these changes Nov 21, 2021
@MarcoIeni
Copy link
Collaborator

simonsan, I think you should revert b27ced5
As you can see from here those links are not visualized correctly.
They were just pointers from links already present in the document.

@simonsan
Copy link
Collaborator

simonsan, I think you should revert b27ced5 As you can see from here those links are not visualized correctly. They were just pointers from links already present in the document.

Yeah, thought you could do both, show the nicely in raw and have them still as links in the document :(

@MarcoIeni MarcoIeni merged commit fa8e722 into rust-unofficial:main Nov 21, 2021
@MarcoIeni
Copy link
Collaborator

MarcoIeni commented Nov 21, 2021

Thanks everyone, especially wookietreiber :D

@wookietreiber wookietreiber deleted the idioms/constructor/default branch November 22, 2021 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants