| commit | 7907966838d67d1ada820ea4c056251abfc41185 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun Nov 01 09:11:55 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun Nov 01 09:12:05 2020 -0800 |
| tree | 94a3347655d53f6fd37e741f4e45a8a8af6941ba | |
| parent | f6fa7b1a2221301bfec450bd8bcf47e489b1f641 [diff] [blame] |
Switch to namespace = "quoted::path" in docs and tests To preserve parity with item-level #[namespace = "..."] which is currently restricted by rustc to a quoted string.
diff --git a/demo/src/main.rs b/demo/src/main.rs index ee7e093..8f62084 100644 --- a/demo/src/main.rs +++ b/demo/src/main.rs
@@ -1,4 +1,4 @@ -#[cxx::bridge(namespace = org::example)] +#[cxx::bridge(namespace = "org::example")] mod ffi { struct SharedThing { z: i32,