Fixed the package name in documentation comments for the qrcode-no-heap crate.

pull/205/head
Project Nayuki 10 months ago
parent 9e15962898
commit 99f057910d

@ -69,7 +69,7 @@ for (int y = 0; y < qr1.size; y++) {
License License
------- -------
Copyright © 2022 Project Nayuki. (MIT License) Copyright © 2024 Project Nayuki. (MIT License)
[https://www.nayuki.io/page/qr-code-generator-library](https://www.nayuki.io/page/qr-code-generator-library) [https://www.nayuki.io/page/qr-code-generator-library](https://www.nayuki.io/page/qr-code-generator-library)
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of

@ -37,11 +37,11 @@ Examples
-------- --------
```rust ```rust
extern crate qrcodegen; extern crate qrcodegen_no_heap;
use qrcodegen::Mask; use qrcodegen_no_heap::Mask;
use qrcodegen::QrCode; use qrcodegen_no_heap::QrCode;
use qrcodegen::QrCodeEcc; use qrcodegen_no_heap::QrCodeEcc;
use qrcodegen::Version; use qrcodegen_no_heap::Version;
// Text data // Text data
let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; let mut outbuffer = vec![0u8; Version::MAX.buffer_len()];

@ -54,11 +54,11 @@
//! # Examples //! # Examples
//! //!
//! ``` //! ```
//! extern crate qrcodegen; //! extern crate qrcodegen_no_heap;
//! use qrcodegen::Mask; //! use qrcodegen_no_heap::Mask;
//! use qrcodegen::QrCode; //! use qrcodegen_no_heap::QrCode;
//! use qrcodegen::QrCodeEcc; //! use qrcodegen_no_heap::QrCodeEcc;
//! use qrcodegen::Version; //! use qrcodegen_no_heap::Version;
//! ``` //! ```
//! //!
//! Text data: //! Text data:

Loading…
Cancel
Save