Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Macros #57

Merged
merged 4 commits into from
Jun 18, 2015
Merged

Macros #57

merged 4 commits into from
Jun 18, 2015

Conversation

saghm
Copy link
Contributor

@saghm saghm commented Jun 17, 2015

No description provided.

"title" => Bson::String("Back to the Future".to_owned())
};

// let mut doc = bson::Document::new();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this commented out and not removed?

@vkarpov15
Copy link
Contributor

lgtm modulo details with commented out code

@vkarpov15
Copy link
Contributor

Also, @steveklabnik, this is our first attempt at using macros for building up bson docs. It's admittedly naive but works well thus far. Do you have any suggestions for improvements?

vkarpov15 added a commit that referenced this pull request Jun 18, 2015
@vkarpov15 vkarpov15 merged commit 6dfe309 into mongodb-labs:1.0 Jun 18, 2015
@steveklabnik
Copy link

I am really bad at macros but seems fine. You might want to look at what other people have done for hashmaps... for example, rust-lang/rust#14726

@saghm saghm deleted the macros branch June 22, 2015 01:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants