Fix examples in Readme.md and src/lib.rs

2 jobs for master in 55 seconds (queued for 1 second)
Status Job ID Name Coverage
  Tests
failed #567908
gitlab-ci-rust
test

00:00:55

 
  Build
skipped #567909
gitlab-ci-rust
build
 
Name Stage Failure
failed
test Tests
Couldn't compile the test.

failures:
src/lib.rs - (line 10)

test result: FAILED. 34 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--doc'
ERROR: Job failed: exit code 1