Skip to content

Commit

Permalink
Mark code blocks as no-run
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Dec 2, 2023
1 parent 2a40f80 commit 734cbf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ instead of worrying about the underlying implementation details.
To connect to a Spacebar compatible server, you need to create an [`Instance`](https://docs.rs/chorus/latest/chorus/instance/struct.Instance.html) like this:
```
```rs
use chorus::instance::Instance;
use chorus::UrlBundle;
Expand All @@ -35,7 +35,7 @@ This Instance can now be used to log in, register and from there on, interact wi
Logging in correctly provides you with an instance of [`ChorusUser`](https://docs.rs/chorus/latest/chorus/instance/struct.ChorusUser.html), with which you can interact with the server and
manipulate the account. Assuming you already have an account on the server, you can log in like this:
```
```rs
use chorus::types::LoginSchema;
// Assume, you already have an account created on this instance. Registering an account works
// the same way, but you'd use the Register-specific Structs and methods instead.
Expand Down

0 comments on commit 734cbf8

Please sign in to comment.