diff options
author | Joel Galenson <jgalenson@google.com> | 2021-09-23 07:45:06 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-09-23 07:46:44 -0700 |
commit | 332a66facab1b56479205610842a2f8c708d2d63 (patch) | |
tree | a96b08803f6c430424c1efffe42f6809632585fd /lib.rs | |
parent | 8985bd8fe54d572fa1e7f08434d79900d33f76f5 (diff) | |
download | matches-332a66facab1b56479205610842a2f8c708d2d63.tar.gz |
Upgrade rust/crates/matches to 0.1.9
Test: make
Change-Id: Id3ca1af3256cb078d3206ef05e551e5d6b0170c1
Diffstat (limited to 'lib.rs')
-rw-r--r-- | lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +#![no_std] + +// ANDROID: Use std to allow building as a dylib. +extern crate std; + /// Check if an expression matches a refutable pattern. /// /// Syntax: `matches!(` *expression* `,` *pattern* `)` |