From 6f9c55f6073c5760a2912030868720aa60f2ca87 Mon Sep 17 00:00:00 2001 From: Samer Afach Date: Wed, 17 Apr 2024 23:12:56 +0400 Subject: [PATCH] Add language type to code blocks --- README.md | 2 +- examples/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e0d8b9..0939c58 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This library doesn't hash the leaves. You can find examples for how to get started with this library in the [examples directory](./examples/README.md). However, this is a quick example: -``` +```rust use blake2::{digest::typenum, Digest}; use merkletree::{hasher::PairHasher, tree::MerkleTree}; diff --git a/examples/README.md b/examples/README.md index a6b11b4..44d0121 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,5 +1,5 @@ To run any example, say `basic.rs`, use the command -``` +```bash cargo run --example basic ```