From d8fa5dcb293dd2bcda6eb7c33d378196502051ca Mon Sep 17 00:00:00 2001 From: "Oliver Scherer @ Cosmian" <52913081+oli-cosmian@users.noreply.github.com> Date: Tue, 22 Oct 2019 13:32:29 +0200 Subject: [PATCH] Update outdated documentation --- cranelift/frontend/src/variable.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cranelift/frontend/src/variable.rs b/cranelift/frontend/src/variable.rs index 9e7c260248..e96fe7d949 100644 --- a/cranelift/frontend/src/variable.rs +++ b/cranelift/frontend/src/variable.rs @@ -1,9 +1,7 @@ //! A basic `Variable` implementation. -//! -//! `FunctionBuilderContext`, `FunctionBuilder`, and related types have a `Variable` -//! type parameter, to allow frontends that identify variables with -//! their own index types to use them directly. Frontends which don't -//! can use the `Variable` defined here. +//! +//! Frontends can use any indexing scheme they see fit and +//! generate the appropriate `Variable` instances. use core::u32; use cranelift_codegen::entity::EntityRef;