diff options
| author | Jakub Bukaj <jakub@jakub.cc> | 2014-11-18 00:23:57 +0100 |
|---|---|---|
| committer | Jakub Bukaj <jakub@jakub.cc> | 2014-11-18 00:23:57 +0100 |
| commit | 76daa0c77c14d482228af6bf5dd20d9c96a3cdb8 (patch) | |
| tree | ff913b9275983964e70fbce83e9a8b3f01552736 /src/rustllvm/RustWrapper.cpp | |
| parent | db4d60afb0d17c9bff72bb7b6c3754c0e6d3f2b5 (diff) | |
| parent | 70bf4f72efc2f005e7cfc94b74bd946439272ca6 (diff) | |
| download | rust-76daa0c77c14d482228af6bf5dd20d9c96a3cdb8.tar.gz rust-76daa0c77c14d482228af6bf5dd20d9c96a3cdb8.zip | |
rollup merge of #18921: oli-obk/refactoring/graphviz/id/new/result_instead_of_fail
creating a new Id object requires the format to match a subset of `ID` format defined by the DOT language. When the format did not match, the function called assert. This was not mentioned in the docs or the spec. I made the failure explicit by returning an Result<Id, ()>.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
