Skip to content

Commit 7b10438

Browse files
committed
Remove std attribute from no-std example
The example `no-std.rs`, which is currently broken and commented out, fails to compile without `std` because it has a crate level attribute `#![cfg(feature = "std")]`. Remove the `std` attribute so that the (broken) example compiles with `no-std`.
1 parent 552e2e0 commit 7b10438

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bitreq/examples/no-std.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! This is a simple example to demonstrate the usage of this library.
22
3-
#![cfg(feature = "std")]
4-
53
const _RESPONSE: &str = r#"<!doctype html>
64
<html>
75
<head>

0 commit comments

Comments
 (0)