| commit | 09dbe75a5dac7bde0d18ccf659d898d6b5007c61 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun Mar 01 13:00:40 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun Mar 01 13:47:28 2020 -0800 |
| tree | 0f17363cc5a386346e017a501afa56805de85f07 | |
| parent | 560821697943b62ccce25c8f75b226e355ad6835 [diff] [blame] |
Rename C++ RustStr to Str
diff --git a/demo-cxx/demo.cc b/demo-cxx/demo.cc index 500ee3a..3900572 100644 --- a/demo-cxx/demo.cc +++ b/demo-cxx/demo.cc
@@ -9,7 +9,7 @@ ThingC::~ThingC() { std::cout << "done with ThingC" << std::endl; } -std::unique_ptr<ThingC> make_demo(cxxbridge::RustStr appname) { +std::unique_ptr<ThingC> make_demo(cxxbridge::Str appname) { return std::unique_ptr<ThingC>(new ThingC(appname)); }