From 99f057910d0146ff1de07ad65a15ebb5ce527397 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Tue, 30 Jan 2024 23:41:48 +0000 Subject: [PATCH] Fixed the package name in documentation comments for the qrcode-no-heap crate. --- Readme.markdown | 2 +- rust-no-heap/Readme.markdown | 10 +++++----- rust-no-heap/src/lib.rs | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Readme.markdown b/Readme.markdown index 66292b4..7fd0dd2 100644 --- a/Readme.markdown +++ b/Readme.markdown @@ -69,7 +69,7 @@ for (int y = 0; y < qr1.size; y++) { 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) Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/rust-no-heap/Readme.markdown b/rust-no-heap/Readme.markdown index 9a3f73f..ab9313e 100644 --- a/rust-no-heap/Readme.markdown +++ b/rust-no-heap/Readme.markdown @@ -37,11 +37,11 @@ Examples -------- ```rust -extern crate qrcodegen; -use qrcodegen::Mask; -use qrcodegen::QrCode; -use qrcodegen::QrCodeEcc; -use qrcodegen::Version; +extern crate qrcodegen_no_heap; +use qrcodegen_no_heap::Mask; +use qrcodegen_no_heap::QrCode; +use qrcodegen_no_heap::QrCodeEcc; +use qrcodegen_no_heap::Version; // Text data let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; diff --git a/rust-no-heap/src/lib.rs b/rust-no-heap/src/lib.rs index 453d9f9..17a42ee 100644 --- a/rust-no-heap/src/lib.rs +++ b/rust-no-heap/src/lib.rs @@ -54,11 +54,11 @@ //! # Examples //! //! ``` -//! extern crate qrcodegen; -//! use qrcodegen::Mask; -//! use qrcodegen::QrCode; -//! use qrcodegen::QrCodeEcc; -//! use qrcodegen::Version; +//! extern crate qrcodegen_no_heap; +//! use qrcodegen_no_heap::Mask; +//! use qrcodegen_no_heap::QrCode; +//! use qrcodegen_no_heap::QrCodeEcc; +//! use qrcodegen_no_heap::Version; //! ``` //! //! Text data: