10 lines
258 B
Rust
10 lines
258 B
Rust
// expect: reject E7004
|
|
// phase: 6
|
|
// spec: docs/spec/16-standard-library.md §2.4
|
|
module test.bounded
|
|
import std.bytes;
|
|
|
|
fn main() -> usize
|
|
effects []
|
|
{ match std.bytes.find_slice(b"abc", b"b") { std.bytes.FindResult::found(index) => { return index; } } }
|